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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/zoom-body-scroll.html

Issue 2387883002: Use float for scroll offset. (Closed)
Patch Set: Fix README.md Created 4 years, 2 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 | third_party/WebKit/LayoutTests/fast/css/zoom-body-scroll-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/zoom-body-scroll.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/zoom-body-scroll.html b/third_party/WebKit/LayoutTests/fast/css/zoom-body-scroll.html
index 322427edd643b87892d163cb6a1ad12df328c6b5..dcb82ea9e1679a76bd2f827d8e7eecbc6b6d6b6a 100644
--- a/third_party/WebKit/LayoutTests/fast/css/zoom-body-scroll.html
+++ b/third_party/WebKit/LayoutTests/fast/css/zoom-body-scroll.html
@@ -24,16 +24,16 @@
checkValue('document.scrollingElement.scrollHeight', 1000)
checkValue('document.scrollingElement.scrollWidth', 1000);
- // Scrolling right to 50.
- document.scrollingElement.scrollLeft = 50;
- checkValue('document.scrollingElement.scrollLeft', 50);
+ // Scrolling right to 40.
+ document.scrollingElement.scrollLeft = 40;
+ checkValue('document.scrollingElement.scrollLeft', 40);
// Zooming in.
eventSender.zoomPageIn();
checkValue('document.scrollingElement.scrollHeight', 1000);
checkValue('document.scrollingElement.scrollWidth', 1000);
checkValue('document.scrollingElement.scrollTop', 0);
- checkValue('document.scrollingElement.scrollLeft', 50);
+ checkValue('document.scrollingElement.scrollLeft', 40);
// Scrolling down to 100.
document.scrollingElement.scrollTop = 100;
@@ -42,7 +42,7 @@
// Zooming back out.
eventSender.zoomPageOut();
checkValue('document.scrollingElement.scrollTop', 100);
- checkValue('document.scrollingElement.scrollLeft', 50);
+ checkValue('document.scrollingElement.scrollLeft', 40);
}
</script>
</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/zoom-body-scroll-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698