Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: df01582880ad31a1d13a43c20cbb814f8bce50fb
https://github.com/WebKit/WebKit/commit/df01582880ad31a1d13a43c20cbb814f8bce50fb
Author: Alan Baradlay <[email protected]>
Date: 2026-09-10 (Thu, 10 Sep 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-inline-on-block-container-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-inline-on-block-container-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-inline-on-block-container.html
M Source/WebCore/layout/integration/LayoutIntegrationBoxTreeUpdater.cpp
M Source/WebCore/layout/layouttree/LayoutBox.cpp
Log Message:
-----------
[IFC] Stop adjusting display: inline to inline-block on block container boxes
https://bugs.webkit.org/show_bug.cgi?id=323802
<rdar://problem/187048839>
Reviewed by Antti Koivisto.
This is in preparation for not adjusting computed style for layout boxes.
Some elements always get a block container renderer, whatever their computed
display value is (e.g. <input style="display: inline"> or
<fieldset style="display: inline">).
*
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-inline-on-block-container-expected.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-inline-on-block-container-ref.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-inline-on-block-container.html:
Added.
* Source/WebCore/layout/integration/LayoutIntegrationBoxTreeUpdater.cpp:
(WebCore::LayoutIntegration::BoxTreeUpdater::adjustStyleIfNeeded):
* Source/WebCore/layout/layouttree/LayoutBox.cpp:
(WebCore::Layout::Box::isInlineBlockBox const):
Canonical link: https://commits.webkit.org/320872@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications