Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 506bc07aa81631603e03ad9df21bec17a7999fd5
https://github.com/WebKit/WebKit/commit/506bc07aa81631603e03ad9df21bec17a7999fd5
Author: Antti Koivisto <[email protected]>
Date: 2025-12-12 (Fri, 12 Dec 2025)
Changed paths:
M LayoutTests/editing/selection/hit-test-continuation-margin-expected.html
M LayoutTests/editing/selection/hit-test-continuation-margin.html
M
LayoutTests/fast/css-generated-content/before-content-continuation-chain-expected.txt
M LayoutTests/platform/ios/css2.1/t09-c5526c-display-00-e-expected.txt
M LayoutTests/platform/ios/editing/style/style-boundary-004-expected.txt
M LayoutTests/platform/ios/fast/dom/34176-expected.txt
M LayoutTests/platform/ios/fast/forms/fieldset-align-expected.txt
M
LayoutTests/platform/ios/fast/text/international/text-combine-image-test-expected.txt
M LayoutTests/platform/ios/tables/mozilla/bugs/bug113235-1-expected.txt
M LayoutTests/platform/ios/tables/mozilla/bugs/bug113235-2-expected.txt
M LayoutTests/platform/ios/tables/mozilla/bugs/bug113235-3-expected.txt
M
LayoutTests/platform/mac-sequoia-wk2/fast/forms/fieldset-align-expected.txt
M LayoutTests/platform/mac-sonoma/fast/dom/34176-expected.txt
M LayoutTests/platform/mac-wk1/fast/forms/fieldset-align-expected.txt
M LayoutTests/platform/mac-wk2/fast/forms/fieldset-align-expected.txt
M LayoutTests/platform/mac/css2.1/t09-c5526c-display-00-e-expected.txt
M LayoutTests/platform/mac/editing/style/style-boundary-004-expected.txt
M LayoutTests/platform/mac/fast/block/basic/001-expected.txt
M LayoutTests/platform/mac/fast/dom/34176-expected.txt
M LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.txt
M LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.txt
M LayoutTests/platform/mac/fast/forms/fieldset-align-expected.txt
M
LayoutTests/platform/mac/fast/text/international/text-combine-image-test-expected.txt
M LayoutTests/platform/mac/http/tests/misc/acid3-expected.txt
M LayoutTests/platform/mac/tables/mozilla/bugs/bug113235-1-expected.txt
M LayoutTests/platform/mac/tables/mozilla/bugs/bug113235-2-expected.txt
M LayoutTests/platform/mac/tables/mozilla/bugs/bug113235-3-expected.txt
M Source/WebCore/rendering/RenderBlock.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilder.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilderInline.h
Log Message:
-----------
[blocks-in-inline] Don't wrap sequences of blocks in anonymous block
https://bugs.webkit.org/show_bug.cgi?id=303999
rdar://166306432
Reviewed by Alan Baradlay.
We already don't wrap single blocks. Remove remaining anonymous block wrapping.
* LayoutTests/editing/selection/hit-test-continuation-margin-expected.html:
* LayoutTests/editing/selection/hit-test-continuation-margin.html:
This is a progression, our selection behavior now matches with or without the
span.
Change the ref to be the spanless case.
* Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
(WebCore::RenderTreeBuilder::updateAfterDescendants):
* Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp:
(WebCore::RenderTreeBuilder::Inline::updateAfterDescendants): Deleted.
(WebCore::RenderTreeBuilder::Inline::wrapRunsOfBlocksInAnonymousBlock): Deleted.
* Source/WebCore/rendering/updating/RenderTreeBuilderInline.h:
Canonical link: https://commits.webkit.org/304357@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications