[webkit-changes] [WebKit/WebKit] f97723: [IFC][Ruby] RubyFormattingContext::overhangForAnno...
Alan Baradlay
noreply at github.com
Mon Dec 4 20:40:06 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f97723ea087241f30f5e81219dddf22fc5b8f757
https://github.com/WebKit/WebKit/commit/f97723ea087241f30f5e81219dddf22fc5b8f757
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-12-04 (Mon, 04 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] RubyFormattingContext::overhangForAnnotationAfter should take a base range
https://bugs.webkit.org/show_bug.cgi?id=265770
Reviewed by Antti Koivisto.
Use WTF::Range<size_t> instead of passing in start/end individually (and some renames).
* 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):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h:
Canonical link: https://commits.webkit.org/271530@main
More information about the webkit-changes
mailing list