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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/media/mq-color-index-01.html

Issue 1908533002: Remove superfluous "*-expected.txt" files in LayoutTests/fast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Media Queries - color-index media feature supported</title> 4 <title>This test validates that the (color-index) media query feature is suppo rted.</title>
5 <link rel="author" title="Kenneth Christiansen" href="kenneth.r.christiansen@i ntel.com"/> 5 <link rel="author" title="Kenneth Christiansen" href="kenneth.r.christiansen@i ntel.com"/>
6 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#color-index"/> 6 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#color-index"/>
7 <script src="../../resources/testharness.js"></script> 7 <script src="../../resources/testharness.js"></script>
8 <script src="../../resources/testharnessreport.js"></script> 8 <script src="../../resources/testharnessreport.js"></script>
9 <script> 9 <script>
10 test(function(){ 10 test(function(){
11 assert_equals(matchMedia('(min-color-index: 1)').matches, 11 assert_equals(matchMedia('(min-color-index: 1)').matches,
12 !matchMedia('(color-index: 0)').matches); 12 !matchMedia('(color-index: 0)').matches);
13 13
14 assert_equals(matchMedia('all and (color-index)').matches, 14 assert_equals(matchMedia('all and (color-index)').matches,
15 !matchMedia('not all and (color-index)').matches); 15 !matchMedia('not all and (color-index)').matches);
16 }, "('color-index') sanity check"); 16 }, "('color-index') sanity check");
17 </script> 17 </script>
18 <head> 18 <head>
19 <body>
20 <h1>Description</h1>
21 <p>This tests validates that the (color-index) media query feature is supporte d.</p>
22 </body>
23 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698