[webkit-changes] [WebKit/WebKit] 178cde: [IFC][Ruby] Resize annotation renderer after inlin...
Alan Baradlay
noreply at github.com
Wed Sep 27 09:22:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 178cde2d00a372eef30bae7bc4c004e326e4ff75
https://github.com/WebKit/WebKit/commit/178cde2d00a372eef30bae7bc4c004e326e4ff75
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-09-27 (Wed, 27 Sep 2023)
Changed paths:
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
Log Message:
-----------
[IFC][Ruby] Resize annotation renderer after inline layout when needed
https://bugs.webkit.org/show_bug.cgi?id=262186
Reviewed by Antti Koivisto.
When annotation box gets resized during ruby layout (e.g. base stretches the ruby column) we have to
make sure the associated renderer gets resized too. We also need to initiate a layout on the annotation
content to ensure proper content alignment.
(This is a temporary workaround and generating inline boxes (and not inline-blocks) for annotations will render it redundant.)
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::updateRenderTreePositions):
Canonical link: https://commits.webkit.org/268512@main
More information about the webkit-changes
mailing list