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

Unified Diff: LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-iframe-not-propagated.html

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a couple more tests Created 5 years, 7 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/gesture/touch-gesture-scroll-iframe-not-propagated.html
diff --git a/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-iframe-not-propagated.html b/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-iframe-not-propagated.html
index c38a1e1cda8e192ca13c82d69f3ea48b9d36bcdc..ddbdf1f00eb4c61098841709cf542d9429b0d964 100644
--- a/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-iframe-not-propagated.html
+++ b/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-iframe-not-propagated.html
@@ -67,8 +67,7 @@ var expectedScrollEventsOccurred = '1';
function firstGestureScroll()
{
iframe = touchtarget;
- iframeBody = iframe.contentDocument.body;
- iframeDocumentElement = iframe.contentDocument.documentElement;
+ iframeScrollingElement = iframe.contentDocument.scrollingElement;
debug("first gesture");
eventSender.gestureScrollBegin(10, 72);
@@ -80,7 +79,7 @@ function firstGestureScroll()
eventSender.gestureScrollEnd(0, 0);
// Make sure the actual iframe got fully scrolled
- shouldBe('iframeBody.scrollHeight - iframeBody.scrollTop', 'iframe.clientHeight');
+ shouldBe('iframeScrollingElement.scrollHeight - iframeScrollingElement.scrollTop', 'iframe.clientHeight');
// Wait for layout.
checkScrollOffset();

Powered by Google App Engine
This is Rietveld 408576698