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

Unified Diff: LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe-fixed.html

Issue 25741004: set and get scrollTop/Left through documentElement and body should be symmetric, according to the d… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: set and get scrollTop/Left through documentElement and body should be symmetric, according to the d… Created 7 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
Index: LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe-fixed.html
diff --git a/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe-fixed.html b/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe-fixed.html
index 536a0062380eb21116753d93a1db087d75b27963..28666b6b6a214f9db23fc0c658c71eb314a79925 100644
--- a/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe-fixed.html
+++ b/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe-fixed.html
@@ -39,7 +39,7 @@ html {
document.getElementById('fixed').removeEventListener('touchstart', handler, false);
}
// Scrolling shouldn't affect the fixed-position div
- document.body.scrollTop = 105;
+ document.documentElement.scrollTop = 105;
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698