[webkit-changes] [WebKit/WebKit] 194305: [IFC][Ruby] Fix base range off-by-one errors
Alan Baradlay
noreply at github.com
Sun Dec 10 09:00:15 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 194305d2a70870b34536b38b6abf293cb216da66
https://github.com/WebKit/WebKit/commit/194305d2a70870b34536b38b6abf293cb216da66
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-12-10 (Sun, 10 Dec 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] Fix base range off-by-one errors
https://bugs.webkit.org/show_bug.cgi?id=266154
Reviewed by Antti Koivisto.
Range ends are always exclusive.
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::applyRubyOverhang):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::applyRubyAlignOnBaseContent):
(WebCore::Layout::RubyFormattingContext::overhangForAnnotationAfter):
Canonical link: https://commits.webkit.org/271838@main
More information about the webkit-changes
mailing list