[webkit-changes] [WebKit/WebKit] f73bd3: [IFC][Ruby] Support annotation without base
Antti Koivisto
noreply at github.com
Wed Nov 22 08:48:41 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f73bd3fa32bca5c03b5267af77b3b116100f5e4d
https://github.com/WebKit/WebKit/commit/f73bd3fa32bca5c03b5267af77b3b116100f5e4d
Author: Antti Koivisto <antti at apple.com>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilder.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilderRuby.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilderRuby.h
Log Message:
-----------
[IFC][Ruby] Support annotation without base
https://bugs.webkit.org/show_bug.cgi?id=265245
Reviewed by Alan Baradlay.
<ruby<rt>foo</rt></ruby>
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::Run::isContentfulOrHasDecoration):
Make empty ruby bases contentful.
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::handleInlineBoxEnd):
* Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
(WebCore::RenderTreeBuilder::attachInternal):
* Source/WebCore/rendering/updating/RenderTreeBuilderRuby.cpp:
(WebCore::RenderTreeBuilder::Ruby::attachForStyleBasedRuby):
Construct an anonymous base if there is no existing base.
* Source/WebCore/rendering/updating/RenderTreeBuilderRuby.h:
Canonical link: https://commits.webkit.org/271056@main
More information about the webkit-changes
mailing list