Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: d09702666d458c363d5a96a7ee258b6d8fc9661c https://github.com/WebKit/WebKit/commit/d09702666d458c363d5a96a7ee258b6d8fc9661c Author: Alan Baradlay <za...@apple.com> Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths: M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp Log Message: ----------- [IFC][Ruby] Fix layout-bounds based line box stretching in vertical writing mode (mostly inter-character annotation) https://bugs.webkit.org/show_bug.cgi?id=265968 Reviewed by Antti Koivisto. 1. Move annotation box stretching after ideographic layout bounds adjustment 2. Use the correct baseline type when checking if (vertical) annotation box fits * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp: (WebCore::Layout::LineBoxBuilder::build): (WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes): * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h: * Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp: (WebCore::Layout::RubyFormattingContext::adjustLayoutBoundsAndStretchAncestorRubyBase): Canonical link: https://commits.webkit.org/271669@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes