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

Unified Diff: LayoutTests/fast/css/zoom-media-queries-expected.txt

Issue 15841015: Fix a zooming bug with EM MQs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replaced previous tests with John Mellor's better ones Created 7 years, 6 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 | « LayoutTests/fast/css/zoom-media-queries.html ('k') | Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/zoom-media-queries-expected.txt
diff --git a/LayoutTests/fast/css/zoom-media-queries-expected.txt b/LayoutTests/fast/css/zoom-media-queries-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30162045c39668c661aeac63efadddd2c7a1978e
--- /dev/null
+++ b/LayoutTests/fast/css/zoom-media-queries-expected.txt
@@ -0,0 +1,37 @@
+PASS matchMedia("(max-width: 300px)").matches is false
+PASS matchMedia("(max-width: 18.75em)").matches is false
+
+eventSender.zoomPageIn()
+PASS matchMedia("(max-width: 300px)").matches is matchMedia("(max-width: 18.75em)").matches
+eventSender.zoomPageIn()
+PASS matchMedia("(max-width: 300px)").matches is matchMedia("(max-width: 18.75em)").matches
+eventSender.zoomPageIn()
+PASS matchMedia("(max-width: 300px)").matches is matchMedia("(max-width: 18.75em)").matches
+eventSender.zoomPageIn()
+PASS matchMedia("(max-width: 300px)").matches is matchMedia("(max-width: 18.75em)").matches
+eventSender.zoomPageIn()
+PASS matchMedia("(max-width: 300px)").matches is matchMedia("(max-width: 18.75em)").matches
+eventSender.zoomPageIn()
+
+PASS matchMedia("(max-width: 300px)").matches is true
+PASS matchMedia("(max-width: 18.75em)").matches is true
+
+eventSender.zoomPageOut()
+PASS matchMedia("(max-width: 300px)").matches is false
+PASS matchMedia("(max-width: 18.75em)").matches is false
+eventSender.zoomPageOut()
+PASS matchMedia("(max-width: 300px)").matches is false
+PASS matchMedia("(max-width: 18.75em)").matches is false
+eventSender.zoomPageOut()
+PASS matchMedia("(max-width: 300px)").matches is false
+PASS matchMedia("(max-width: 18.75em)").matches is false
+eventSender.zoomPageOut()
+PASS matchMedia("(max-width: 300px)").matches is false
+PASS matchMedia("(max-width: 18.75em)").matches is false
+eventSender.zoomPageOut()
+PASS matchMedia("(max-width: 300px)").matches is false
+PASS matchMedia("(max-width: 18.75em)").matches is false
+eventSender.zoomPageOut()
+PASS matchMedia("(max-width: 300px)").matches is false
+PASS matchMedia("(max-width: 18.75em)").matches is false
+
« no previous file with comments | « LayoutTests/fast/css/zoom-media-queries.html ('k') | Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698