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

Side by Side Diff: LayoutTests/fast/media/media-query-and.html

Issue 15878013: Tokenize "and(" as a FUNCTION in media queries. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>CSS Media Queries: tokenizing "and"</title>
5 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#syntax" />
6 <style type="text/css">
7 div {
8 width: 150px;
9 height: 50px;
10 background-color: red;
11 }
12 #t1 { background-color: green; }
13 @media all and(color) { #t1 { background-color: red; } }
14 @media all and/**/(color) { #t2 { background-color: green; } }
15 @media all and (color) { #t3 { background-color: green; } }
16 </style>
17 </head>
18 <body>
19 <p>You should see a green square below.</p>
20 <div id="t1"></div>
21 <div id="t2"></div>
22 <div id="t3"></div>
23 </body>
24 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/media-rule-no-whitespace.html ('k') | LayoutTests/fast/media/media-query-and-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698