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

Side by Side Diff: LayoutTests/fast/media/mq-invalid-media-type.html

Issue 23477048: Media query malformed when 'or' is used as a media type. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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/mq-invalid-media-type-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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>CSS3 media query test: 'not', 'and', 'only', 'or' are invalid media types .</title>
5 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/" />
6 <style type="text/css">
7 #t1::before, #t2::before, #t3::before, #t4::before { content: "PASS" }
8 @media not not { #t1::before { content: "FAIL" } }
9 @media not and { #t2::before { content: "FAIL" } }
10 @media not only { #t3::before { content: "FAIL" } }
11 @media not or { #t4::before { content: "FAIL" } }
12 </style>
13 </head>
14 <body>
15 <p>You should see four PASSes below.</p>
16 <div id="t1"></div>
17 <div id="t2"></div>
18 <div id="t3"></div>
19 <div id="t4"></div>
20 </body>
21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/media/mq-invalid-media-type-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698