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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/cssom-view/MediaQueryList-001.html

Issue 2829913003: Change MediaQueryList-001 to test on min-width: 1px (Closed)
Patch Set: remove out of date comment Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/external/wpt/cssom-view/MediaQueryList-001.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/cssom-view/MediaQueryList-001.html b/third_party/WebKit/LayoutTests/external/wpt/cssom-view/MediaQueryList-001.html
index 65c70732288335dc8df2be6b265cc985c8e73d2a..06c81d5de4c67efaba23f18abcbf8532257a54eb 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/cssom-view/MediaQueryList-001.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/cssom-view/MediaQueryList-001.html
@@ -10,12 +10,11 @@
</style>
</head>
<body>
- <p>This case tests the MediaQueryList
- <p>The test passes if the value is 1280/800</p>
+ <p>This case tests the MediaQueryList</p>
<div id="log"></div>
<script>
test(function(){
- assert_equals(window.matchMedia('(device-aspect-ratio: 1280/800)').matches, true, "Expected value for device-aspect-ratio is 1280/800");
+ assert_equals(window.matchMedia('(min-width: 1px)').matches, true, "Expected any device to match min-width: 1px");
},'matchMedia');
</script>
</body>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698