[webkit-changes] [WebKit/WebKit] 1d3b4f: [IFC][Ruby] Annotation box should be (inline-axis)...
Alan Baradlay
noreply at github.com
Wed Sep 27 08:37:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1d3b4f3e24754bd71e656c2bd839170764e46839
https://github.com/WebKit/WebKit/commit/1d3b4f3e24754bd71e656c2bd839170764e46839
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-09-27 (Wed, 27 Sep 2023)
Changed paths:
M Source/WebCore/layout/LayoutUnits.h
M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h
Log Message:
-----------
[IFC][Ruby] Annotation box should be (inline-axis) sized to the associated ruby column
https://bugs.webkit.org/show_bug.cgi?id=262153
Reviewed by Antti Koivisto.
This patch is in preparation for initiating another layout pass on annotation boxes when
they are stretched to the size of the ruby base.
* Source/WebCore/layout/LayoutUnits.h:
(WebCore::Layout::toLayoutSize):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::appendInterlinearRubyAnnotationBox):
(WebCore::Layout::InlineDisplayContentBuilder::appendIntercharacterRubyAnnotationBox):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::sizeAnnotationBox):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h:
Canonical link: https://commits.webkit.org/268508@main
More information about the webkit-changes
mailing list