Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 8f722d36d59725a7a9399efc6f2b7f17a9c0d15d https://github.com/WebKit/WebKit/commit/8f722d36d59725a7a9399efc6f2b7f17a9c0d15d Author: Alan Baradlay <za...@apple.com> Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths: M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h Log Message: ----------- [IFC][Ruby] Annotation content stretches line box when needed https://bugs.webkit.org/show_bug.cgi?id=261753 Reviewed by Antti Koivisto. Adjust the layout bounds of the ruby base's inline box to ensure annotation content is always enclosed. * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp: (WebCore::Layout::LineBoxBuilder::setLayoutBoundsForInlineBox const): * Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp: (WebCore::Layout::RubyFormattingContext::annotationExtent): * Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h: Canonical link: https://commits.webkit.org/268150@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes