[webkit-changes] [WebKit/WebKit] 2aa546: [IFC][Ruby][Integration] Propage style to anomymou...
Antti Koivisto
noreply at github.com
Mon Oct 9 05:46:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2aa546e86501eba591b5ede93648c9fbc11b5880
https://github.com/WebKit/WebKit/commit/2aa546e86501eba591b5ede93648c9fbc11b5880
Author: Antti Koivisto <antti at apple.com>
Date: 2023-10-09 (Mon, 09 Oct 2023)
Changed paths:
M Source/WebCore/rendering/RenderInline.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilderRuby.cpp
Log Message:
-----------
[IFC][Ruby][Integration] Propage style to anomymous inlines
https://bugs.webkit.org/show_bug.cgi?id=262877
rdar://116668321
Reviewed by Alan Baradlay.
Ruby uses anonymous inlines. They need style propagation similar to blocks.
* Source/WebCore/rendering/RenderInline.cpp:
(WebCore::RenderInline::styleDidChange):
Propage similarly to RenderBlock.
* Source/WebCore/rendering/updating/RenderTreeBuilderRuby.cpp:
(WebCore::RenderTreeBuilder::Ruby::findOrCreateParentForStyleBasedRubyChild):
Take care to call initializeStyle() for the anonymous renderers.
Canonical link: https://commits.webkit.org/269073@main
More information about the webkit-changes
mailing list