[webkit-changes] [WebKit/WebKit] 2a3d9d: showRenderTree should tell if formatting context r...
Alan Baradlay
noreply at github.com
Fri Feb 14 05:48:09 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2a3d9d0c5c772476cf2c5b8e470373b59698ee5c
https://github.com/WebKit/WebKit/commit/2a3d9d0c5c772476cf2c5b8e470373b59698ee5c
Author: Alan Baradlay <zalan at apple.com>
Date: 2025-02-14 (Fri, 14 Feb 2025)
Changed paths:
M Source/WebCore/layout/integration/LayoutIntegrationBoxTreeUpdater.cpp
M Source/WebCore/rendering/RenderObject.cpp
Log Message:
-----------
showRenderTree should tell if formatting context root runs modern or legacy layout
https://bugs.webkit.org/show_bug.cgi?id=287652
Reviewed by Antti Koivisto.
While with inline layout it is relatively easy to tell if block container runs IFC or legacy line layout by looking at the inline tree, other FC roots don't normally produce such subtrees.
1. Add an extra field to tell if FC runs modern or legacy layout
2. Remove redundant hasLayer(S)crollableArea. It is already part of layer tree dump.
* Source/WebCore/layout/integration/LayoutIntegrationBoxTreeUpdater.cpp:
(WebCore::LayoutIntegration::showInlineContent):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForFlexLayoutWithReason):
* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::outputRenderTreeLegend):
(WebCore::RenderObject::outputRenderObject const):
Canonical link: https://commits.webkit.org/290398@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