| 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 27bed8735c8fd609af50ace7f1edf3104840e379..97ccc5af09beedc411ad9e9df433d3715dc832c7 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
|
| @@ -53,6 +53,7 @@ var movedbox;
|
| var touchtarget;
|
| var iframe;
|
| var iframeBody;
|
| +var iframeDocumentElement;
|
| var expectedGesturesTotal = 1;
|
| var gesturesOccurred = 0;
|
| var scrollAmountX = ['0'];
|
| @@ -68,6 +69,7 @@ function firstGestureScroll()
|
| {
|
| iframe = touchtarget;
|
| iframeBody = iframe.contentDocument.body;
|
| + iframeDocumentElement = iframe.contentDocument.documentElement;
|
|
|
| debug("first gesture");
|
| eventSender.gestureScrollBegin(10, 72);
|
| @@ -78,7 +80,7 @@ function firstGestureScroll()
|
| eventSender.gestureScrollEnd(0, 0);
|
|
|
| // Make sure the actual iframe got fully scrolled
|
| - shouldBe('iframeBody.scrollHeight - iframeBody.scrollTop', 'iframe.clientHeight');
|
| + shouldBe('iframeBody.scrollHeight - iframeDocumentElement.scrollTop', 'iframe.clientHeight');
|
|
|
| // Wait for layout.
|
| checkScrollOffset();
|
|
|