Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3db230251f3c40d76cabdc09cf1e64ac3c377c2f
https://github.com/WebKit/WebKit/commit/3db230251f3c40d76cabdc09cf1e64ac3c377c2f
Author: Cathie Chen <[email protected]>
Date: 2024-03-03 (Sun, 03 Mar 2024)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006.html
M Source/WebCore/dom/ContainerNode.cpp
M Source/WebCore/dom/Element.cpp
Log Message:
-----------
[contain-intrinsic-size] Element removed by parent should end up losing last
remembered size
https://bugs.webkit.org/show_bug.cgi?id=270240
Reviewed by Ryosuke Niwa.
The code to clear last remembered size for disconnected element, it does not
cover all the scenario.
This patch moves it to Element::removedFromAncestor, so that it could handle
all scenarios with the element removed.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006.html:
* Source/WebCore/dom/ContainerNode.cpp:
(WebCore::ContainerNode::removeChild):
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::removedFromAncestor):
Canonical link: https://commits.webkit.org/275606@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes