Changeset 243694 in webkit
- Timestamp:
- Apr 1, 2019, 9:38:03 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/scrolling/ios/event-region-visibility-hidden-expected.txt (added)
-
LayoutTests/fast/scrolling/ios/event-region-visibility-hidden.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderBlock.cpp (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r243693 r243694 1 2019-04-01 Antti Koivisto <antti@apple.com> 2 3 Trying to scroll the compose pane on gmail.com scrolls the message list behind 4 https://bugs.webkit.org/show_bug.cgi?id=196426 5 <rdar://problem/49402667> 6 7 Reviewed by Darin Adler. 8 9 * fast/scrolling/ios/event-region-visibility-hidden-expected.txt: Added. 10 * fast/scrolling/ios/event-region-visibility-hidden.html: Added. 11 1 12 2019-04-01 Cathie Chen <cathiechen@igalia.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r243691 r243694 1 2019-04-01 Antti Koivisto <antti@apple.com> 2 3 Trying to scroll the compose pane on gmail.com scrolls the message list behind 4 https://bugs.webkit.org/show_bug.cgi?id=196426 5 <rdar://problem/49402667> 6 7 Reviewed by Darin Adler. 8 9 Test: fast/scrolling/ios/event-region-visibility-hidden.html 10 11 We fail to gather event region from desdendants of non-overflowing elements with 'visibility:hidden'. 12 13 * rendering/RenderBlock.cpp: 14 (WebCore::RenderBlock::paintObject): 15 16 Skip the subtree walk only if the current region covers the box already. 17 18 * rendering/RenderLayer.cpp: 19 (WebCore::RenderLayer::paintList): 20 21 Remove the (wrong) optimization, we bail out quickly on first renderer if possible so this is not high value. 22 1 23 2019-04-01 Emilio Cobos Álvarez <emilio@crisal.io> 2 24 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r243674 r243694 1249 1249 } 1250 1250 1251 // No need to check descendants if we don't have overflow .1252 if (!hasVisualOverflow() )1251 // No need to check descendants if we don't have overflow and the area is already covered. 1252 if (!hasVisualOverflow() && paintInfo.eventRegion->contains(enclosingIntRect(borderRect))) 1253 1253 return; 1254 1254 } -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r243656 r243694 4489 4489 return; 4490 4490 4491 if (paintFlags.contains(PaintLayerCollectingEventRegion) && renderBox() && !renderBox()->hasRenderOverflow())4492 return;4493 4494 4491 #if !ASSERT_DISABLED 4495 4492 LayerListMutationDetector mutationChecker(*this);
Note:
See TracChangeset
for help on using the changeset viewer.