[webkit-changes] [WebKit/WebKit] 829fbc: [IFC][Ruby] Expand overlap check to neighboring an...
Alan Baradlay
noreply at github.com
Sun Sep 24 09:06:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 829fbc2db4e95119c28720065b6d45a0f4f6f234
https://github.com/WebKit/WebKit/commit/829fbc2db4e95119c28720065b6d45a0f4f6f234
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-09-24 (Sun, 24 Sep 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp
M Source/WebCore/layout/layouttree/LayoutGeometryRect.h
Log Message:
-----------
[IFC][Ruby] Expand overlap check to neighboring annotation box (overhang)
https://bugs.webkit.org/show_bug.cgi?id=261918
Reviewed by Antti Koivisto.
When ruby container has multiple bases, overhanging should not result in overlapping annotations boxes.
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::annotationOverlapCheck const):
* Source/WebCore/layout/layouttree/LayoutGeometryRect.h:
(WebCore::Layout::Rect::operator FloatRect const):
Canonical link: https://commits.webkit.org/268372@main
More information about the webkit-changes
mailing list