Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 06b75e97dfe4d6057f7d7504e99ba526bfc85b93
https://github.com/WebKit/WebKit/commit/06b75e97dfe4d6057f7d7504e99ba526bfc85b93
Author: Antti Koivisto <[email protected]>
Date: 2026-02-05 (Thu, 05 Feb 2026)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilderBlock.h
M Source/WebCore/rendering/updating/RenderTreeUpdater.cpp
Log Message:
-----------
[blocks-in-inline] Add a feature flag to not generate unnecessary anonymous
blocks
https://bugs.webkit.org/show_bug.cgi?id=307004
rdar://169659540
Reviewed by Alan Baradlay.
With blocks-in-inline
<div>foo<div>bar</div></div>
does not need an anonymous block for 'foo' anymore.
The behavior is disabled for now.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:
(WebCore::Layout::InlineItemsBuilder::collectInlineItems):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::containing):
* Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp:
(WebCore::RenderTreeBuilder::Block::Block):
(WebCore::RenderTreeBuilder::Block::attachIgnoringContinuation):
* Source/WebCore/rendering/updating/RenderTreeBuilderBlock.h:
* Source/WebCore/rendering/updating/RenderTreeUpdater.cpp:
(WebCore::RenderTreeUpdater::textRendererIsNeeded):
Canonical link: https://commits.webkit.org/306896@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications