Changeset 285854 in webkit
- Timestamp:
- Nov 16, 2021, 1:46:49 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/TestExpectations (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderObject.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r285852 r285854 1 2021-11-16 Cathie Chen <cathiechen@igalia.com> 2 3 [CSS contain] The size should be updated if layout containment is inside a fit-content parent 4 https://bugs.webkit.org/show_bug.cgi?id=233046 5 6 Reviewed by Rob Buis. 7 8 * TestExpectations: 9 1 10 2021-11-15 Tim Nguyen <ntim@apple.com> 2 11 -
trunk/LayoutTests/TestExpectations
r285852 r285854 4843 4843 imported/w3c/web-platform-tests/css/css-contain/contain-html-w-m-003.html [ ImageOnlyFailure ] 4844 4844 imported/w3c/web-platform-tests/css/css-contain/contain-html-w-m-004.html [ ImageOnlyFailure ] 4845 imported/w3c/web-platform-tests/css/css-contain/contain-layout-019.html [ ImageOnlyFailure ]4846 4845 imported/w3c/web-platform-tests/css/css-contain/contain-paint-026.html [ ImageOnlyFailure ] 4847 4846 -
trunk/Source/WebCore/ChangeLog
r285846 r285854 1 2021-11-16 Cathie Chen <cathiechen@igalia.com> 2 3 [CSS contain] The size should be updated if layout containment is inside a fit-content parent 4 https://bugs.webkit.org/show_bug.cgi?id=233046 5 6 Reviewed by Rob Buis. 7 8 When the object is a layout containment, we also need to add size containment as the constraint of 9 being a relayout boundary. Otherwise when the layout size depends on the content, the layout size 10 might not be updated correctly. 11 12 Test: imported/w3c/web-platform-tests/css/css-contain/contain-layout-019.html 13 14 * rendering/RenderObject.cpp: 15 (WebCore::objectIsRelayoutBoundary): 16 1 17 2021-11-15 Sam Weinig <weinig@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderObject.cpp
r285745 r285854 506 506 return true; 507 507 508 if (shouldApplyLayoutContainment(*object) )508 if (shouldApplyLayoutContainment(*object) && shouldApplySizeContainment(*object)) 509 509 return true; 510 510
Note:
See TracChangeset
for help on using the changeset viewer.