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

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

Issue 891523002: ScrollTopLeftInterop should not be marked experimental (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 5 years, 11 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/css/zoom-body-scroll.html
diff --git a/LayoutTests/fast/css/zoom-body-scroll.html b/LayoutTests/fast/css/zoom-body-scroll.html
index 99a139e9b06d535d09d2362c6a14cef6e1e6dc5b..9f5c405ba9a9bffc29dba0eef8128743552132d2 100644
--- a/LayoutTests/fast/css/zoom-body-scroll.html
+++ b/LayoutTests/fast/css/zoom-body-scroll.html
@@ -25,24 +25,24 @@
checkValue('document.body.scrollWidth', 1000);
// Scrolling right to 50.
- documentElement.scrollLeft = 50;
- checkValue('document.documentElement.scrollLeft', 50);
+ body.scrollLeft = 50;
+ checkValue('document.body.scrollLeft', 50);
// Zooming in.
eventSender.zoomPageIn();
checkValue('document.body.scrollHeight', 1000);
checkValue('document.body.scrollWidth', 1000);
- checkValue('document.documentElement.scrollTop', 0);
- checkValue('document.documentElement.scrollLeft', 50);
+ checkValue('document.body.scrollTop', 0);
+ checkValue('document.body.scrollLeft', 50);
// Scrolling down to 100.
- documentElement.scrollTop = 100;
- checkValue('document.documentElement.scrollTop', 100);
+ body.scrollTop = 100;
+ checkValue('document.body.scrollTop', 100);
// Zooming back out.
eventSender.zoomPageOut();
- checkValue('document.documentElement.scrollTop', 100);
- checkValue('document.documentElement.scrollLeft', 50);
+ checkValue('document.body.scrollTop', 100);
+ checkValue('document.body.scrollLeft', 50);
}
</script>
</body>
« no previous file with comments | « LayoutTests/fast/css/resize-corner-tracking-touch.html ('k') | LayoutTests/fast/css/zoom-body-scroll-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698