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

Unified Diff: LayoutTests/fast/images/image-click-scale-restore-zoomed-image-expected.txt

Issue 262053005: Allow zoom/restore in a zoomed document. It is a regression from an earlier fix. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased code Created 6 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
Index: LayoutTests/fast/images/image-click-scale-restore-zoomed-image-expected.txt
diff --git a/LayoutTests/fast/images/image-click-scale-restore-zoomed-image-expected.txt b/LayoutTests/fast/images/image-click-scale-restore-zoomed-image-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0841d041f8a73ba984edfea1e21cb40a4a81d919
--- /dev/null
+++ b/LayoutTests/fast/images/image-click-scale-restore-zoomed-image-expected.txt
@@ -0,0 +1,7 @@
+This tests that on a zoomed page, click to scale up / down works fine. This test requires testRunner to run. To test manually, open this image in a browser window, resize the window to 100px tall and zoom out and click on the image to scale it up.
+
+Size at zoomed in level : 77 x 100
+Size at zoomed level after scale up click 1 : 500 x 644
+Size at zoomed out level after click 2 (Image restored): 77 x 100
+Size at zoomed level after scale up click 3 : 500 x 644
+
« no previous file with comments | « LayoutTests/fast/images/image-click-scale-restore-zoomed-image.html ('k') | Source/core/html/ImageDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698