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

Unified Diff: third_party/WebKit/LayoutTests/fast/media/mq-width-on-zoom-expected.txt

Issue 1496683002: Avoid rounding down viewport dimensions in Media Queries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved to double Created 5 years 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
Index: third_party/WebKit/LayoutTests/fast/media/mq-width-on-zoom-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/media/mq-width-on-zoom-expected.txt b/third_party/WebKit/LayoutTests/fast/media/mq-width-on-zoom-expected.txt
index 080182bebd3f96c802f2f9db2ce10feb662e09cd..43809869acc52bc0b42760843f1eeadec6265b9b 100644
--- a/third_party/WebKit/LayoutTests/fast/media/mq-width-on-zoom-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/media/mq-width-on-zoom-expected.txt
@@ -1,18 +1,33 @@
-PASS window.matchMedia('(width: 960px)').matches is true
-PASS window.matchMedia('(width: 1152px)').matches is true
-PASS window.matchMedia('(width: 1382px)').matches is true
-PASS window.matchMedia('(width: 1658px)').matches is true
-PASS window.matchMedia('(width: 1990px)').matches is true
-PASS window.matchMedia('(width: 1658px)').matches is true
-PASS window.matchMedia('(width: 1382px)').matches is true
-PASS window.matchMedia('(width: 1152px)').matches is true
-PASS window.matchMedia('(width: 960px)').matches is true
-PASS window.matchMedia('(width: 800px)').matches is true
-PASS window.matchMedia('(width: 667px)').matches is true
-PASS window.matchMedia('(width: 555px)').matches is true
-PASS window.matchMedia('(width: 463px)').matches is true
-PASS window.matchMedia('(width: 386px)').matches is true
-PASS window.matchMedia('(width: 321px)').matches is true
+PASS window.matchMedia('(min-width: 959px)').matches is true
+PASS window.matchMedia('(max-width: 961px)').matches is true
+PASS window.matchMedia('(min-width: 1151px)').matches is true
+PASS window.matchMedia('(max-width: 1153px)').matches is true
+PASS window.matchMedia('(min-width: 1381px)').matches is true
+PASS window.matchMedia('(max-width: 1383px)').matches is true
+PASS window.matchMedia('(min-width: 1657px)').matches is true
+PASS window.matchMedia('(max-width: 1659px)').matches is true
+PASS window.matchMedia('(min-width: 1989px)').matches is true
+PASS window.matchMedia('(max-width: 1991px)').matches is true
+PASS window.matchMedia('(min-width: 1657px)').matches is true
+PASS window.matchMedia('(max-width: 1659px)').matches is true
+PASS window.matchMedia('(min-width: 1381px)').matches is true
+PASS window.matchMedia('(max-width: 1383px)').matches is true
+PASS window.matchMedia('(min-width: 1151px)').matches is true
+PASS window.matchMedia('(max-width: 1153px)').matches is true
+PASS window.matchMedia('(min-width: 959px)').matches is true
+PASS window.matchMedia('(max-width: 961px)').matches is true
+PASS window.matchMedia('(min-width: 799px)').matches is true
+PASS window.matchMedia('(max-width: 801px)').matches is true
+PASS window.matchMedia('(min-width: 666px)').matches is true
+PASS window.matchMedia('(max-width: 668px)').matches is true
+PASS window.matchMedia('(min-width: 554px)').matches is true
+PASS window.matchMedia('(max-width: 556px)').matches is true
+PASS window.matchMedia('(min-width: 462px)').matches is true
+PASS window.matchMedia('(max-width: 464px)').matches is true
+PASS window.matchMedia('(min-width: 385px)').matches is true
+PASS window.matchMedia('(max-width: 387px)').matches is true
+PASS window.matchMedia('(min-width: 320px)').matches is true
+PASS window.matchMedia('(max-width: 322px)').matches is true
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698