Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 506a7e66512dac3f08eb2b9c22b2882d7ce689b0
https://github.com/WebKit/WebKit/commit/506a7e66512dac3f08eb2b9c22b2882d7ce689b0
Author: Alan Baradlay <[email protected]>
Date: 2026-09-10 (Thu, 10 Sep 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-br-element/br-and-wbr-with-non-inline-display-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-br-element/br-and-wbr-with-non-inline-display-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-br-element/br-and-wbr-with-non-inline-display.html
M
Source/WebCore/layout/formattingContexts/inline/InlineContentConstrainer.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp
M Source/WebCore/layout/integration/LayoutIntegrationBoxTreeUpdater.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
M Source/WebCore/layout/layouttree/LayoutBox.cpp
Log Message:
-----------
[IFC] Stop adjusting the display, float and clear values of line break boxes
https://bugs.webkit.org/show_bug.cgi?id=323782
<rdar://problem/187042554>
Reviewed by Antti Koivisto.
This is in preparation for not adjusting computed style for layout boxes.
<br> and <wbr> in-flow display was forced to inline, float to none and, for
<wbr>, clear to none.
*
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-br-element/br-and-wbr-with-non-inline-display-expected.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-br-element/br-and-wbr-with-non-inline-display-ref.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-br-element/br-and-wbr-with-non-inline-display.html:
Added.
* Source/WebCore/layout/formattingContexts/inline/InlineContentConstrainer.cpp:
(WebCore::Layout::cannotConstrainInlineItem):
* Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:
(WebCore::Layout::requiresVisualReordering):
(WebCore::Layout::InlineItemsBuilder::handleInlineLevelBox):
* Source/WebCore/layout/integration/LayoutIntegrationBoxTreeUpdater.cpp:
(WebCore::LayoutIntegration::BoxTreeUpdater::adjustStyleIfNeeded):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::updateRenderTreePositions):
* Source/WebCore/layout/layouttree/LayoutBox.cpp:
(WebCore::Layout::Box::isFloatingPositioned const):
(WebCore::Layout::Box::hasFloatClear const):
(WebCore::Layout::Box::associatedRubyAnnotationBox const):
Canonical link: https://commits.webkit.org/320828@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications