[webkit-changes] [WebKit/WebKit] 0172fa: [IFC][Ruby] Fix fast/ruby/bopomofo.html
Alan Baradlay
noreply at github.com
Mon Dec 11 10:49:35 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0172fac96188adc3dd4f273b7c67842cd246a617
https://github.com/WebKit/WebKit/commit/0172fac96188adc3dd4f273b7c67842cd246a617
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-12-11 (Mon, 11 Dec 2023)
Changed paths:
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] Fix fast/ruby/bopomofo.html
https://bugs.webkit.org/show_bug.cgi?id=266226
Reviewed by Antti Koivisto.
Ensure that the ruby base (end) is expanded by the width of the intercharacter annotation (which is placed at the right side of the base).
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::adjustVisualGeometryForDisplayBox):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::baseEndAdditionalVisualWidth):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h:
Canonical link: https://commits.webkit.org/271886@main
More information about the webkit-changes
mailing list