Diff
Modified: branches/safari-603-branch/LayoutTests/ChangeLog (214872 => 214873)
--- branches/safari-603-branch/LayoutTests/ChangeLog 2017-04-04 08:00:24 UTC (rev 214872)
+++ branches/safari-603-branch/LayoutTests/ChangeLog 2017-04-04 08:00:29 UTC (rev 214873)
@@ -1,3 +1,19 @@
+2017-04-03 Jason Marcell <[email protected]>
+
+ Cherry-pick r214640. rdar://problem/31408453
+
+ 2017-03-30 Simon Fraser <[email protected]>
+
+ Rename a touch event function, and new touch region test results
+ https://bugs.webkit.org/show_bug.cgi?id=170309
+ rdar://problem/31329520
+
+ Reviewed by Chris Dumez.
+
+ A code change in WebKitAdditions progresses this test result.
+
+ * fast/events/touch/ios/touch-event-regions/iframes-expected.txt:
+
2017-03-30 Jason Marcell <[email protected]>
Merge r214599. rdar://problem/31356103
Added: branches/safari-603-branch/LayoutTests/fast/events/touch/ios/touch-event-regions/iframes-expected.txt (0 => 214873)
--- branches/safari-603-branch/LayoutTests/fast/events/touch/ios/touch-event-regions/iframes-expected.txt (rev 0)
+++ branches/safari-603-branch/LayoutTests/fast/events/touch/ios/touch-event-regions/iframes-expected.txt 2017-04-04 08:00:29 UTC (rev 214873)
@@ -0,0 +1,13 @@
+
+touchstart
+44, 36 - 228, 56
+144, 156 - 244, 256
+82, 614 - 198, 730
+touchstart
+
+touchend
+
+touchforcechange
+
+passive
+
Modified: branches/safari-603-branch/Source/WebCore/ChangeLog (214872 => 214873)
--- branches/safari-603-branch/Source/WebCore/ChangeLog 2017-04-04 08:00:24 UTC (rev 214872)
+++ branches/safari-603-branch/Source/WebCore/ChangeLog 2017-04-04 08:00:29 UTC (rev 214873)
@@ -1,3 +1,27 @@
+2017-04-03 Jason Marcell <[email protected]>
+
+ Cherry-pick r214640. rdar://problem/31408453
+
+ 2017-03-30 Simon Fraser <[email protected]>
+
+ Rename a touch event function, and new touch region test results
+ https://bugs.webkit.org/show_bug.cgi?id=170309
+ rdar://problem/31329520
+
+ Reviewed by Chris Dumez.
+
+ Adapt to a naming change in WebKitAdditions.
+
+ * dom/Document.cpp:
+ (WebCore::Document::removeAllEventListeners):
+ * page/FrameView.cpp:
+ (WebCore::FrameView::layout):
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::styleWillChange):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::scrollTo):
+ (WebCore::RenderLayer::calculateClipRects):
+
2017-03-31 Brent Fulgham <[email protected]>
Merge r214378. rdar://problem/31177657
Modified: branches/safari-603-branch/Source/WebCore/dom/Document.cpp (214872 => 214873)
--- branches/safari-603-branch/Source/WebCore/dom/Document.cpp 2017-04-04 08:00:24 UTC (rev 214872)
+++ branches/safari-603-branch/Source/WebCore/dom/Document.cpp 2017-04-04 08:00:29 UTC (rev 214873)
@@ -2368,6 +2368,7 @@
if (m_domWindow)
m_domWindow->removeAllEventListeners();
+
#if ENABLE(IOS_TOUCH_EVENTS)
clearTouchEventHandlersAndListeners();
#endif
Modified: branches/safari-603-branch/Source/WebCore/page/FrameView.cpp (214872 => 214873)
--- branches/safari-603-branch/Source/WebCore/page/FrameView.cpp 2017-04-04 08:00:24 UTC (rev 214872)
+++ branches/safari-603-branch/Source/WebCore/page/FrameView.cpp 2017-04-04 08:00:29 UTC (rev 214873)
@@ -1542,7 +1542,7 @@
#endif
#if ENABLE(IOS_TOUCH_EVENTS)
- document.dirtyTouchEventRects();
+ document.setTouchEventRegionsNeedUpdate();
#endif
updateCanBlitOnScrollRecursively();
Modified: branches/safari-603-branch/Source/WebCore/rendering/RenderElement.cpp (214872 => 214873)
--- branches/safari-603-branch/Source/WebCore/rendering/RenderElement.cpp 2017-04-04 08:00:24 UTC (rev 214872)
+++ branches/safari-603-branch/Source/WebCore/rendering/RenderElement.cpp 2017-04-04 08:00:29 UTC (rev 214873)
@@ -840,7 +840,7 @@
#endif
#if PLATFORM(IOS) && ENABLE(TOUCH_EVENTS)
if (visibilityChanged)
- document().dirtyTouchEventRects();
+ document().setTouchEventRegionsNeedUpdate();
#endif
if (visibilityChanged) {
if (AXObjectCache* cache = document().existingAXObjectCache())
Modified: branches/safari-603-branch/Source/WebCore/rendering/RenderLayer.cpp (214872 => 214873)
--- branches/safari-603-branch/Source/WebCore/rendering/RenderLayer.cpp 2017-04-04 08:00:24 UTC (rev 214872)
+++ branches/safari-603-branch/Source/WebCore/rendering/RenderLayer.cpp 2017-04-04 08:00:29 UTC (rev 214873)
@@ -2431,7 +2431,7 @@
}
#if PLATFORM(IOS) && ENABLE(TOUCH_EVENTS)
- renderer().document().dirtyTouchEventRects();
+ renderer().document().setTouchEventRegionsNeedUpdate();
#endif
DebugPageOverlays::didLayout(renderer().frame());
}
@@ -6831,7 +6831,7 @@
#if PLATFORM(IOS) && ENABLE(TOUCH_EVENTS)
if (diff == StyleDifferenceRecompositeLayer || diff >= StyleDifferenceLayoutPositionedMovementOnly)
- renderer().document().dirtyTouchEventRects();
+ renderer().document().setTouchEventRegionsNeedUpdate();
#else
UNUSED_PARAM(diff);
#endif