Changeset 248772 in webkit
- Timestamp:
- Aug 16, 2019 8:48:03 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r248771 r248772 1 2019-08-16 Antti Koivisto <antti@apple.com> 2 3 Content in <iframe> should override "touch-action" set in embedding document 4 https://bugs.webkit.org/show_bug.cgi?id=200204 5 <rdar://problem/54355249> 6 7 Reviewed by Antoine Quint. 8 9 * pointerevents/ios/touch-action-region-frame-expected.txt: Added. 10 * pointerevents/ios/touch-action-region-frame.html: Added. 11 1 12 2019-08-16 Chris Lord <clord@igalia.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r248769 r248772 1 2019-08-16 Antti Koivisto <antti@apple.com> 2 3 Content in <iframe> should override "touch-action" set in embedding document 4 https://bugs.webkit.org/show_bug.cgi?id=200204 5 <rdar://problem/54355249> 6 7 Reviewed by Antoine Quint. 8 9 Test: pointerevents/ios/touch-action-region-frame.html 10 11 Subframes where content doesn't use any touch-action properties won't generate event region for their main layer. 12 As a result the touch-action property gets computed in UI process to the parent frames touch-action (instead of 'auto'). 13 14 * rendering/RenderLayerBacking.cpp: 15 (WebCore::RenderLayerBacking::updateEventRegion): 16 17 Generate event region for the main layer of subframes. 18 1 19 2019-08-16 Miguel Gomez <magomez@igalia.com> 2 20 -
trunk/Source/WebCore/rendering/RenderLayerBacking.cpp
r248657 r248772 1589 1589 hasTouchActionElements = renderer().document().mayHaveElementsWithNonAutoTouchAction(); 1590 1590 #endif 1591 if (m_ owningLayer.isRenderViewLayer()&& !hasTouchActionElements)1591 if (m_isMainFrameRenderViewLayer && !hasTouchActionElements) 1592 1592 return; 1593 1593
Note: See TracChangeset
for help on using the changeset viewer.