Changeset 289443 in webkit
- Timestamp:
- Feb 8, 2022 3:49:27 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r289426 r289443 1 2022-02-08 Rob Buis <rbuis@igalia.com> 2 3 REGRESSION (15.4): Angular virtual scrollers no longer work (because of contain:strict) 4 https://bugs.webkit.org/show_bug.cgi?id=236260 5 6 Reviewed by Simon Fraser. 7 8 * web-platform-tests/css/css-contain/contain-paint-049-expected.txt: Added. 9 * web-platform-tests/css/css-contain/contain-paint-049.html: Added. 10 1 11 2022-02-08 Antoine Quint <graouts@webkit.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r289437 r289443 1 2022-02-08 Rob Buis <rbuis@igalia.com> 2 3 REGRESSION (15.4): Angular virtual scrollers no longer work (because of contain:strict) 4 https://bugs.webkit.org/show_bug.cgi?id=236260 5 6 Reviewed by Simon Fraser. 7 8 Paint containment did not allow collecting scrollable overflow, breaking scrolling 9 of the container contents, this patch fixes that. 10 11 Test: imported/w3c/web-platform-tests/css/css-contain/contain-paint-049.html 12 13 * rendering/RenderBox.cpp: 14 (WebCore::RenderBox::addOverflowFromChild): 15 1 16 2022-02-08 Brandon Stewart <brandonstewart@apple.com> 2 17 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r288947 r289443 4987 4987 void RenderBox::addOverflowFromChild(const RenderBox* child, const LayoutSize& delta) 4988 4988 { 4989 if (paintContainmentApplies())4990 return;4991 4989 // Never allow flow threads to propagate overflow up to a parent. 4992 4990 if (child->isRenderFragmentedFlow()) … … 5003 5001 childLayoutOverflowRect.move(delta); 5004 5002 addLayoutOverflow(childLayoutOverflowRect); 5003 5004 if (paintContainmentApplies()) 5005 return; 5005 5006 5006 5007 // Add in visual overflow from the child. Even if the child clips its overflow, it may still
Note: See TracChangeset
for help on using the changeset viewer.