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

Side by Side Diff: LayoutTests/fast/media/mq-scan-01.html

Issue 13896036: [CSSMQ] Implemented support for the scan media feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: another static_cast removed. Created 7 years, 7 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-scan-01-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>Media Queries - scan media feature for "screen"</title>
5 <script>
6 if (window.testRunner) {
7 /* The scan media feature only applies to "tv" media. This test checks that
8 we don't match any of the values for "screen". */
9 window.internals.settings.setMediaTypeOverride("screen");
10 }
11 </script>
12 <style>
13 @media (scan: progressive) {
14 #t1 { color: red; }
15 }
16
17 @media (scan: interlace) {
18 #t2 { color: red; }
19 }
20
21 @media (scan) {
22 #t3 { color: red; }
23 }
24 </style>
25 </head>
26 <body>
27 <div id="t1">Should not be red</div>
28 <div id="t2">Should not be red</div>
29 <div id="t3">Should not be red</div>
30 </body>
31 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/media/mq-scan-01-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698