[webkit-changes] [WebKit/WebKit] 078edf: [FFC][Integration] Flex items may also be formatti...
Alan Baradlay
noreply at github.com
Thu Sep 19 08:26:11 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 078edf815e1a273b925a20b830f99363d8cf7e25
https://github.com/WebKit/WebKit/commit/078edf815e1a273b925a20b830f99363d8cf7e25
Author: Alan Baradlay <zalan at apple.com>
Date: 2024-09-19 (Thu, 19 Sep 2024)
Changed paths:
M Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationBoxGeometryUpdater.cpp
Log Message:
-----------
[FFC][Integration] Flex items may also be formatting context roots for IFC
https://bugs.webkit.org/show_bug.cgi?id=279927
Reviewed by Antti Koivisto.
This is similar to what we already do for inline-blocks.
* Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp:
(WebCore::LayoutIntegration::BoxTree::BoxTree):
(WebCore::LayoutIntegration::BoxTree::buildTreeForFlexContent):
* Source/WebCore/layout/integration/inline/LayoutIntegrationBoxGeometryUpdater.cpp:
(WebCore::LayoutIntegration::BoxGeometryUpdater::updateInlineContentConstraints): Now box geometry could be shared between a flex item and a IFC root. Let's not reset margins.
Canonical link: https://commits.webkit.org/283920@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