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

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

Issue 23542021: Explicit space required around NOT/ONLY/AND in CSS MQ. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed unrelated whitespace fixes. 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/media/media-query-and-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>CSS Media Queries: tokenizing "and"</title> 4 <title>CSS Media Queries: tokenizing "and"</title>
5 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#syntax" /> 5 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#syntax" />
6 <link rel="help" href="http://www.w3.org/Style/2012/REC-mediaqueries-20120619- errata.html">
6 <style type="text/css"> 7 <style type="text/css">
7 div { 8 div {
8 width: 150px; 9 width: 150px;
9 height: 50px; 10 height: 50px;
10 background-color: red; 11 background-color: red;
11 } 12 }
12 #t1 { background-color: green; } 13 #t1, #t2, #t6 { background-color: green; }
13 @media all and(color) { #t1 { background-color: red; } } 14 @media all and(color) { #t1 { background-color: red; } }
14 @media all and/**/(color) { #t2 { background-color: green; } } 15 @media all and/**/(color) { #t2 { background-color: red; } }
15 @media all and (color) { #t3 { background-color: green; } } 16 @media all and (color) { #t3 { background-color: green; } }
17 @media all and/**/ (color) { #t4 { background-color: green; } }
18 @media all and /**/(color) { #t5 { background-color: green; } }
19 @media all/**/and (color) { #t6 { background-color: red; } }
20 @media all /**/and (color) { #t7 { background-color: green; } }
21 @media all/**/ and (color) { #t8 { background-color: green; } }
16 </style> 22 </style>
17 </head> 23 </head>
18 <body> 24 <body>
19 <p>You should see a green square below.</p> 25 <p>You should see a green rectangle below.</p>
20 <div id="t1"></div> 26 <div id="t1"></div>
21 <div id="t2"></div> 27 <div id="t2"></div>
22 <div id="t3"></div> 28 <div id="t3"></div>
29 <div id="t4"></div>
30 <div id="t5"></div>
31 <div id="t6"></div>
32 <div id="t7"></div>
33 <div id="t8"></div>
23 </body> 34 </body>
24 </html> 35 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/media/media-query-and-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698