Index: LayoutTests/fast/css/calc-comments-allowed.html |
diff --git a/LayoutTests/fast/css/calc-comments-allowed.html b/LayoutTests/fast/css/calc-comments-allowed.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ac5ca74d6a70788b8aea43a9deef88c0a9a209e1 |
--- /dev/null |
+++ b/LayoutTests/fast/css/calc-comments-allowed.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <title>Comments inside calc() allowed</title> |
+ <style> |
+ div { height: 50px; background-color: green; font-size: 50px; } |
+ #t1 { width: calc(50px + 1em) } |
+ #t2 { width: calc(50px + /* Comment allowed */ 1em) } |
+ </style> |
+</head> |
+<body> |
+ <p>You should see a green square below</p> |
+ <div id="t1"></div> |
+ <div id="t2"></div> |
+</body> |
+</html> |