[webkit-changes] [WebKit/WebKit] c56d65: [IFC][Ruby] Add support for non-flipped vertical a...
Alan Baradlay
noreply at github.com
Sun Oct 8 19:43:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c56d65065a7031c3905f701eac1e9af94bed7240
https://github.com/WebKit/WebKit/commit/c56d65065a7031c3905f701eac1e9af94bed7240
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-10-08 (Sun, 08 Oct 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp
Log Message:
-----------
[IFC][Ruby] Add support for non-flipped vertical annotation overhang
https://bugs.webkit.org/show_bug.cgi?id=262846
Reviewed by Antti Koivisto.
Convert overhanging offsets to visual for overlap testing (flipped block direction needs more work)
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::applyRubyOverhang):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::baseContentIndex):
(WebCore::Layout::RubyFormattingContext::overhangForAnnotationBefore):
(WebCore::Layout::RubyFormattingContext::overhangForAnnotationAfter):
Canonical link: https://commits.webkit.org/269065@main
More information about the webkit-changes
mailing list