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

Unified Diff: LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe.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.html
diff --git a/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe.html b/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe.html
index 99956dfd79a6234de319e24a1ce19e777f55d56b..326efe32db693a370aac5775d7e58edd1367b433 100644
--- a/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe.html
+++ b/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe.html
@@ -31,7 +31,7 @@ html {
document.getElementById('child').removeEventListener('touchstart', handler, false);
}
// Scroll so the div is just slighly clipped.
- document.body.scrollTop = 40;
+ document.documentElement.scrollTop = 40;
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698