Changeset 292127 in webkit
- Timestamp:
- Mar 30, 2022 4:23:34 PM (4 months ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/TestExpectations (modified) (1 diff)
-
LayoutTests/fast/css/counters/findPlaceForCounter-parent-renderer-crash-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderBox.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r292110 r292127 1 2022-03-30 Alan Bujtas <zalan@apple.com> 2 3 [CSS contain] Containment disables the special handling of the HTML body element for overflow viewport propagation. 4 https://bugs.webkit.org/show_bug.cgi?id=238526 5 6 Reviewed by Simon Fraser. 7 8 * TestExpectations: 9 * fast/layers/parent-clipping-overflow-is-overwritten-by-child-clipping-expected.html: 10 * fast/layers/parent-clipping-overflow-is-overwritten-by-child-clipping.html: 11 1 12 2022-03-30 Youenn Fablet <youenn@apple.com> 2 13 -
trunk/LayoutTests/TestExpectations
r292084 r292127 4697 4697 imported/w3c/web-platform-tests/css/css-contain/quote-scoping-003.html [ ImageOnlyFailure ] 4698 4698 imported/w3c/web-platform-tests/css/css-contain/quote-scoping-004.html [ ImageOnlyFailure ] 4699 imported/w3c/web-platform-tests/css/css-contain/contain-body-overflow-001.html [ ImageOnlyFailure ]4700 imported/w3c/web-platform-tests/css/css-contain/contain-body-overflow-002.html [ ImageOnlyFailure ]4701 imported/w3c/web-platform-tests/css/css-contain/contain-body-overflow-003.html [ ImageOnlyFailure ]4702 imported/w3c/web-platform-tests/css/css-contain/contain-body-overflow-004.html [ ImageOnlyFailure ]4703 4699 imported/w3c/web-platform-tests/css/css-contain/contain-html-overflow-001.html [ ImageOnlyFailure ] 4704 4700 imported/w3c/web-platform-tests/css/css-contain/contain-html-overflow-003.html [ ImageOnlyFailure ] 4705 4701 imported/w3c/web-platform-tests/css/css-contain/contain-html-overflow-004.html [ ImageOnlyFailure ] 4702 # innerText bug 4703 webkit.org/b/238555 imported/w3c/web-platform-tests/css/css-contain/contain-flexbox-outline.html [ Failure ] 4706 4704 4707 4705 # Container queries -
trunk/LayoutTests/fast/css/counters/findPlaceForCounter-parent-renderer-crash-expected.txt
r287194 r292127 1 PASS if this doesn't crash 1 -
trunk/Source/WebCore/ChangeLog
r292120 r292127 1 2022-03-30 Alan Bujtas <zalan@apple.com> 2 3 [CSS contain] Containment disables the special handling of the HTML body element for overflow viewport propagation. 4 https://bugs.webkit.org/show_bug.cgi?id=238526 5 6 Reviewed by Simon Fraser. 7 8 https://www.w3.org/TR/css-overflow-3/#overflow-propagation 9 10 "...UAs must apply the overflow-* values set on the root element to the viewport when the root element’s display value is not none. 11 However, when the root element is an html element whose overflow value is visible, and that element has as a 12 child a body element whose display value is also not none, user agents must instead apply the 13 overflow-* values of the first such child element to the viewport. 14 The element from which the value is propagated must then have a used overflow value of visible. 15 16 Note: Using containment disables this special handling of the HTML body element..." 17 18 * rendering/RenderBox.cpp: 19 (WebCore::RenderBox::updateFromStyle): 20 1 21 2022-03-30 Devin Rousso <drousso@apple.com> 2 22 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r291946 r292127 514 514 if (is<HTMLHtmlElement>(*document().documentElement()) 515 515 && document().body() == element() 516 && document().documentElement()->renderer()->effectiveOverflowX() == Overflow::Visible) { 516 && document().documentElement()->renderer()->effectiveOverflowX() == Overflow::Visible 517 && !styleToUse.effectiveContainment()) { 517 518 boxHasNonVisibleOverflow = false; 518 519 }
Note: See TracChangeset
for help on using the changeset viewer.