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

Side by Side Diff: LayoutTests/fast/media/media-query-only-not.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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>CSS Media Queries: parsing with "only" and "not"</title>
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-2012061 9-errata.html">
7 <style type="text/css">
8 div {
9 width: 100px;
10 height: 10px;
11 background-color: red;
12 }
13 #t1, #t4 { background-color: green; }
14 @media not/**/speech { #t1 { background-color: red; } }
15 @media not/**/ speech { #t2 { background-color: green; } }
16 @media not /**/speech { #t3 { background-color: green; } }
17 @media only/**/screen { #t4 { background-color: red; } }
18 @media only/**/ screen { #t5 { background-color: green; } }
19 @media only /**/screen { #t6 { background-color: green; } }
20 </style>
21 </head>
22 <body>
23 <p>You should see a green rectangle below.</p>
24 <div id="t1"></div>
25 <div id="t2"></div>
26 <div id="t3"></div>
27 <div id="t4"></div>
28 <div id="t5"></div>
29 <div id="t6"></div>
30 </body>
31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/media/media-query-and-expected.html ('k') | LayoutTests/fast/media/media-query-only-not-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698