Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6aea550742b522782eb3ac5cecf6fca0f5a1dcfc
https://github.com/WebKit/WebKit/commit/6aea550742b522782eb3ac5cecf6fca0f5a1dcfc
Author: Alan Baradlay <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes