[webkit-changes] [WebKit/WebKit] 6aea55: [IFC][Out-of-flow] Block level out-of-flow boxes m...
Alan Baradlay
noreply at github.com
Tue May 28 16:40:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6aea550742b522782eb3ac5cecf6fca0f5a1dcfc
https://github.com/WebKit/WebKit/commit/6aea550742b522782eb3ac5cecf6fca0f5a1dcfc
Author: Alan Baradlay <zalan at apple.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
[IFC][Out-of-flow] Block level out-of-flow boxes may use simplified layout even with text-align/indent set on root
https://bugs.webkit.org/show_bug.cgi?id=274784
Reviewed by Antti Koivisto.
Only inline level out-of-flow boxes are affected by text-align/indent value.
e.g.
<div style="text-align: center; width: 200px;">
<img style="position: absolute">
<img style="position: absolute; display: block">
</div>
only the first <img> gets center aligned.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::hasSimpleStaticPositionForInlineLevelOutOfFlowChildrenByStyle):
(WebCore::RenderBlockFlow::layoutModernLines):
(WebCore::hasSimpleStaticPositionForOutOfFlowChildren): Deleted.
Canonical link: https://commits.webkit.org/279414@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list