Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: LayoutTests/fast/css/calc-comments-allowed.html

Issue 25607005: Fix WHITESPACE issues in the CSS grammar. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698