diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-values/max-20-arguments.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
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> |