Changeset 292155 in webkit
- Timestamp:
- Mar 31, 2022 4:53:40 AM (4 months ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-position/sticky/position-sticky-overflow-clip-container-expected.html (added)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-position/sticky/position-sticky-overflow-clip-container-ref.html (added)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-position/sticky/position-sticky-overflow-clip-container.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r292150 r292155 1 2022-03-31 Rob Buis <rbuis@igalia.com> 2 3 Interop issue with position: sticky within contain: paint 4 https://bugs.webkit.org/show_bug.cgi?id=238016 5 6 Reviewed by Simon Fraser. 7 8 * web-platform-tests/css/css-position/sticky/position-sticky-overflow-clip-container-expected.html: Added. 9 * web-platform-tests/css/css-position/sticky/position-sticky-overflow-clip-container-ref.html: Added. 10 * web-platform-tests/css/css-position/sticky/position-sticky-overflow-clip-container.html: Added. 11 1 12 2022-03-31 Alex Christensen <achristensen@webkit.org> 2 13 -
trunk/Source/WebCore/ChangeLog
r292154 r292155 1 2022-03-31 Rob Buis <rbuis@igalia.com> 2 3 Interop issue with position: sticky within contain: paint 4 https://bugs.webkit.org/show_bug.cgi?id=238016 5 6 Reviewed by Simon Fraser. 7 8 Elements with overflow: clip (contain: paint enables it) are 9 not scroll containers, so they can't act as scrolling 10 ancestor for sticky elements. 11 12 Tests: imported/w3c/web-platform-tests/css/css-position/sticky/position-sticky-overflow-clip-container-ref.html 13 imported/w3c/web-platform-tests/css/css-position/sticky/position-sticky-overflow-clip-container.html 14 15 * rendering/RenderLayer.cpp: 16 (WebCore::RenderLayer::enclosingOverflowClipLayer const): 17 1 18 2022-03-31 Kimmo Kinnunen <kkinnunen@apple.com> 2 19 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r291493 r292155 1397 1397 const RenderLayer* layer = (includeSelf == IncludeSelf) ? this : parent(); 1398 1398 while (layer) { 1399 if (layer->renderer().has NonVisibleOverflow())1399 if (layer->renderer().hasPotentiallyScrollableOverflow()) 1400 1400 return const_cast<RenderLayer*>(layer); 1401 1401
Note: See TracChangeset
for help on using the changeset viewer.