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

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

Issue 130823003: Merge 164913 "Revert "Explicit space required around NOT/ONLY/AN..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1700/
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« 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">
7 <style type="text/css"> 6 <style type="text/css">
8 div { 7 div {
9 width: 150px; 8 width: 150px;
10 height: 50px; 9 height: 50px;
11 background-color: red; 10 background-color: red;
12 } 11 }
13 #t1, #t2, #t6 { background-color: green; } 12 #t1 { background-color: green; }
14 @media all and(color) { #t1 { background-color: red; } } 13 @media all and(color) { #t1 { background-color: red; } }
15 @media all and/**/(color) { #t2 { background-color: red; } } 14 @media all and/**/(color) { #t2 { background-color: green; } }
16 @media all and (color) { #t3 { background-color: green; } } 15 @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; } }
22 </style> 16 </style>
23 </head> 17 </head>
24 <body> 18 <body>
25 <p>You should see a green rectangle below.</p> 19 <p>You should see a green square below.</p>
26 <div id="t1"></div> 20 <div id="t1"></div>
27 <div id="t2"></div> 21 <div id="t2"></div>
28 <div id="t3"></div> 22 <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>
34 </body> 23 </body>
35 </html> 24 </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