aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-values-3_dev/html/calc-parenthesis-stack.htm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/css-tests/css-values-3_dev/html/calc-parenthesis-stack.htm')
-rw-r--r--tests/wpt/css-tests/css-values-3_dev/html/calc-parenthesis-stack.htm35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-values-3_dev/html/calc-parenthesis-stack.htm b/tests/wpt/css-tests/css-values-3_dev/html/calc-parenthesis-stack.htm
new file mode 100644
index 00000000000..38fac4362b7
--- /dev/null
+++ b/tests/wpt/css-tests/css-values-3_dev/html/calc-parenthesis-stack.htm
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html><head>
+
+ <title>
+ CSS Values and Units Test:
+ Calc() inside calc()
+ </title>
+ <meta content="
+ The calc() function notation is allowed inside a calc() notation.
+ " name="assert">
+
+ <link href="mailto:fremycompany.developer@yahoo.fr" rel="author" title="François REMY">
+
+ <link href="http://www.w3.org/TR/css3-values/#calc-notation" rel="help">
+
+ <link href="reference/all-green.htm" rel="match">
+
+ <style type="text/css">
+
+ html, body { margin: 0px; padding: 0px; }
+
+ html { background: red; overflow: hidden; }
+ #outer { position: absolute; top: 0px; left: 0px; background: green; width: 100%; }
+ #outer { height: calc((((((((((((((((((((((((100%)))))))))))))))))))))))); }
+
+ </style>
+
+</head>
+<body>
+
+ <div id="outer"></div>
+
+
+
+</body></html> \ No newline at end of file