diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/tests/css/css-values/max-20-arguments.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-values/max-20-arguments.html')
-rw-r--r-- | testing/web-platform/tests/css/css-values/max-20-arguments.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-values/max-20-arguments.html b/testing/web-platform/tests/css/css-values/max-20-arguments.html new file mode 100644 index 0000000000..9ed12875ac --- /dev/null +++ b/testing/web-platform/tests/css/css-values/max-20-arguments.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"> + <title>CSS Values and Units Test: max() with 20 arguments</title> + + <meta name="assert" content="UAs must support math function expressions of at least 20 terms."> + <link rel="author" title="Fuqiao Xue" href="mailto:xfq@w3.org"> + <link rel="help" href="https://drafts.csswg.org/css-values-4/#calc-syntax"> + <link rel="match" href="reference/all-green.html"> + + <style> + html, body { margin: 0px; padding: 0px; } + + html { background: red; overflow: hidden; } + #outer { position: absolute; top: 0px; left: 0px; background: green; width: 100%; } + + #outer { height: max(5%, 10%, 15%, 20%, 25%, 30%, 35%, 40%, 45%, 50%, 55%, 60%, 65%, 70%, 75%, 80%, 85%, 90%, 95%, 100%); } + </style> + +</head> +<body> + + <div id="outer"></div> + +</body> +</html> |