Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 851c9749ef297a4209f0ae7bc84f8a1225b5a715
https://github.com/WebKit/WebKit/commit/851c9749ef297a4209f0ae7bc84f8a1225b5a715
Author: Alan Baradlay <[email protected]>
Date: 2024-04-20 (Sat, 20 Apr 2024)
Changed paths:
M Source/WebCore/rendering/RenderButton.cpp
M Source/WebCore/rendering/RenderMenuList.cpp
Log Message:
-----------
[IFC][Invalidation] RenderMenuList/RenderButton should update their subtree
when inner style changes
https://bugs.webkit.org/show_bug.cgi?id=273037
Reviewed by Antti Koivsito.
When style changes on these renderers they
1. implicitly update their inner renderers and their subtrees using the block
style (see RenderElement::propagateStyleToAnonymousChildren and the for loop on
RenderText children in RenderElement::setStyle)
2. explicitly update their inner renderers (see e.g.
RenderMenuList::adjustInnerStyle) and through that their inner block's subtree.
This patch ensures that inline text boxes (IFC's layout box) always have the
correct set of styles.
* Source/WebCore/rendering/RenderButton.cpp:
(WebCore::RenderButton::setInnerRenderer):
* Source/WebCore/rendering/RenderMenuList.cpp:
(WebCore::if):
Canonical link: https://commits.webkit.org/277789@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