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

Unified Diff: LayoutTests/fast/dom/Window/device-pixel-ratio-on-zoom-expected.txt

Issue 23000005: Update window.devicePixelRatio on browser zoom (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/dom/Window/device-pixel-ratio-on-zoom.html ('k') | Source/core/page/DOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Window/device-pixel-ratio-on-zoom-expected.txt
diff --git a/LayoutTests/fast/dom/Window/device-pixel-ratio-on-zoom-expected.txt b/LayoutTests/fast/dom/Window/device-pixel-ratio-on-zoom-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..354d78bfe9c4853a2e08d8bfa6608b6ee17b7933
--- /dev/null
+++ b/LayoutTests/fast/dom/Window/device-pixel-ratio-on-zoom-expected.txt
@@ -0,0 +1,16 @@
+PASS round(window.devicePixelRatio) is 0.83
+PASS round(window.devicePixelRatio) is 0.69
+PASS round(window.devicePixelRatio) is 0.58
+PASS round(window.devicePixelRatio) is 0.48
+PASS round(window.devicePixelRatio) is 0.4
+PASS round(window.devicePixelRatio) is 0.48
+PASS round(window.devicePixelRatio) is 0.58
+PASS round(window.devicePixelRatio) is 0.69
+PASS round(window.devicePixelRatio) is 0.83
+PASS round(window.devicePixelRatio) is 1
+PASS round(window.devicePixelRatio) is 1.2
+PASS round(window.devicePixelRatio) is 1.44
+PASS round(window.devicePixelRatio) is 1.73
+PASS round(window.devicePixelRatio) is 2.07
+PASS round(window.devicePixelRatio) is 2.49
+Tests that window.devicePixelRatio is updated on zoom.
« no previous file with comments | « LayoutTests/fast/dom/Window/device-pixel-ratio-on-zoom.html ('k') | Source/core/page/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698