Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e5f9b62f3c4a7e07f1a6fbd1769116da652790da
      
https://github.com/WebKit/WebKit/commit/e5f9b62f3c4a7e07f1a6fbd1769116da652790da
  Author: Antti Koivisto <[email protected]>
  Date:   2025-12-11 (Thu, 11 Dec 2025)

  Changed paths:
    M LayoutTests/editing/execCommand/selectAll-expected.txt
    M LayoutTests/editing/selection/extend-by-sentence-001-expected.txt
    M 
LayoutTests/fast/block/float/float-not-removed-from-next-sibling-expected.txt
    M 
LayoutTests/fast/block/float/float-not-removed-from-next-sibling2-expected.txt
    M LayoutTests/fast/css/outline-auto-empty-rects-expected.txt
    M LayoutTests/fast/invalid/018-expected.txt
    M LayoutTests/fast/invalid/table-residual-style-crash-expected.txt
    M 
LayoutTests/fast/repaint/transform-absolute-in-positioned-container-expected.txt
    M LayoutTests/fast/ruby/ruby-text-before-child-split-expected.txt
    M LayoutTests/fullscreen/full-screen-render-inline-expected.txt
    M LayoutTests/fullscreen/parent-flow-inline-with-block-child-expected.txt
    M LayoutTests/platform/ios/editing/execCommand/print-expected.txt
    M LayoutTests/platform/ios/editing/execCommand/selectAll-expected.txt
    M 
LayoutTests/platform/ios/editing/inserting/insert-paragraph-04-expected.txt
    M 
LayoutTests/platform/ios/fast/block/float/float-not-removed-from-next-sibling3-expected.txt
    M 
LayoutTests/platform/ios/fast/block/float/float-not-removed-from-next-sibling4-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-color/004-declarative-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-color/004-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-color/004-xhtml-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-color/007-declarative-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-color/007-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-color/007-xhtml-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-image/004-declarative-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-image/004-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-image/004-xhtml-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-image/007-declarative-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-image/007-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/background-image/007-xhtml-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/overflow/007-declarative-expected.txt
    M LayoutTests/platform/ios/fast/body-propagation/overflow/007-expected.txt
    M 
LayoutTests/platform/ios/fast/body-propagation/overflow/007-xhtml-expected.txt
    M LayoutTests/platform/ios/fast/css-generated-content/005-expected.txt
    M LayoutTests/platform/ios/fast/css-generated-content/015-expected.txt
    M 
LayoutTests/platform/ios/fast/css-generated-content/after-duplicated-after-split-expected.txt
    M 
LayoutTests/platform/ios/fast/css-generated-content/beforeAfter-interdocument-expected.txt
    M 
LayoutTests/platform/ios/fast/css/bidi-override-in-anonymous-block-expected.txt
    M 
LayoutTests/platform/ios/fast/css/child-style-can-override-visited-style-expected.txt
    M LayoutTests/platform/ios/fast/css/focus-ring-continuations-expected.txt
    M LayoutTests/platform/ios/fast/css/outline-auto-empty-rects-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt
    M 
LayoutTests/platform/ios/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt
    M LayoutTests/platform/ios/fast/css/word-space-extra-expected.txt
    M LayoutTests/platform/ios/fast/dom/34176-expected.txt
    M LayoutTests/platform/ios/fast/dynamic/011-expected.txt
    M 
LayoutTests/platform/ios/fast/dynamic/insert-before-table-part-in-continuation-expected.txt
    M LayoutTests/platform/ios/fast/forms/button-inner-block-reuse-expected.txt
    M LayoutTests/platform/ios/fast/forms/form-hides-table-expected.txt
    M LayoutTests/platform/ios/fast/forms/formmove3-expected.txt
    M 
LayoutTests/platform/ios/fast/forms/preserveFormDuringResidualStyle-expected.txt
    M LayoutTests/platform/ios/fast/inline/continuation-outlines-expected.txt
    M 
LayoutTests/platform/ios/fast/inline/continuation-outlines-with-layers-2-expected.txt
    M 
LayoutTests/platform/ios/fast/inline/continuation-outlines-with-layers-expected.txt
    M 
LayoutTests/platform/ios/fast/inline/inline-continuation-borders-expected.txt
    M LayoutTests/platform/ios/fast/inline/outline-continuations-expected.txt
    M LayoutTests/platform/ios/fast/invalid/002-expected.txt
    M LayoutTests/platform/ios/fast/invalid/003-expected.txt
    M LayoutTests/platform/ios/fast/invalid/004-expected.txt
    M LayoutTests/platform/ios/fast/invalid/007-expected.txt
    M LayoutTests/platform/ios/fast/invalid/nestedh3s-expected.txt
    M 
LayoutTests/platform/ios/fast/layers/remove-layer-with-nested-stacking-expected.txt
    M LayoutTests/platform/ios/fast/lists/olstart-expected.txt
    M 
LayoutTests/platform/ios/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt
    M 
LayoutTests/platform/ios/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt
    M 
LayoutTests/platform/ios/fast/multicol/span/span-as-immediate-child-property-removal-expected.txt
    M 
LayoutTests/platform/ios/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt
    M 
LayoutTests/platform/ios/fast/multicol/span/span-as-immediate-columns-child-removal-expected.txt
    M LayoutTests/platform/ios/fast/parser/001-expected.txt
    M LayoutTests/platform/ios/fast/table/nobr-expected.txt
    M LayoutTests/platform/ios/fast/text/basic/001-expected.txt
    M LayoutTests/platform/ios/tables/mozilla/bugs/bug113235-1-expected.txt
    M LayoutTests/platform/ios/tables/mozilla/bugs/bug113235-3-expected.txt
    M LayoutTests/platform/ios/tables/mozilla/bugs/bug138725-expected.txt
    M LayoutTests/platform/ios/tables/mozilla/bugs/bug2050-expected.txt
    M LayoutTests/platform/ios/tables/mozilla/bugs/bug2267-expected.txt
    M LayoutTests/platform/ios/tables/mozilla/bugs/bug2469-expected.txt
    M LayoutTests/platform/ios/tables/mozilla/bugs/bug30273-expected.txt
    M LayoutTests/platform/ios/tables/mozilla/other/ms-expected.txt
    M 
LayoutTests/platform/ios/tables/mozilla_expected_failures/bugs/bug56024-expected.txt
    M 
LayoutTests/platform/ios/transforms/3d/general/perspective-non-layer-expected.txt
    M 
LayoutTests/platform/mac-sequoia-wk2/fast/forms/button-inner-block-reuse-expected.txt
    M LayoutTests/platform/mac-sequoia-wk2/fast/forms/formmove3-expected.txt
    M 
LayoutTests/platform/mac-sequoia-wk2/tables/mozilla/bugs/bug138725-expected.txt
    M 
LayoutTests/platform/mac-sequoia-wk2/transforms/3d/general/perspective-non-layer-expected.txt
    M 
LayoutTests/platform/mac-sonoma-wk1/fast/forms/button-inner-block-reuse-expected.txt
    M LayoutTests/platform/mac-sonoma-wk1/fast/forms/formmove3-expected.txt
    M 
LayoutTests/platform/mac-sonoma-wk1/tables/mozilla/bugs/bug138725-expected.txt
    M 
LayoutTests/platform/mac-sonoma-wk1/transforms/3d/general/perspective-non-layer-expected.txt
    M LayoutTests/platform/mac-sonoma/fast/dom/34176-expected.txt
    R 
LayoutTests/platform/mac-wk2/fast/forms/button-inner-block-reuse-expected.txt
    R LayoutTests/platform/mac-wk2/fast/forms/formmove3-expected.txt
    M LayoutTests/platform/mac-wk2/tables/mozilla/bugs/bug138725-expected.txt
    M 
LayoutTests/platform/mac-wk2/transforms/3d/general/perspective-non-layer-expected.txt
    M LayoutTests/platform/mac/editing/execCommand/print-expected.txt
    M 
LayoutTests/platform/mac/editing/inserting/insert-paragraph-04-expected.txt
    M 
LayoutTests/platform/mac/fast/block/float/float-not-removed-from-next-sibling3-expected.txt
    M 
LayoutTests/platform/mac/fast/block/float/float-not-removed-from-next-sibling4-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.txt
    M LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.txt
    M 
LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.txt
    M LayoutTests/platform/mac/fast/css-generated-content/005-expected.txt
    M LayoutTests/platform/mac/fast/css-generated-content/015-expected.txt
    M 
LayoutTests/platform/mac/fast/css-generated-content/after-duplicated-after-split-expected.txt
    M 
LayoutTests/platform/mac/fast/css-generated-content/beforeAfter-interdocument-expected.txt
    M 
LayoutTests/platform/mac/fast/css/bidi-override-in-anonymous-block-expected.txt
    M 
LayoutTests/platform/mac/fast/css/child-style-can-override-visited-style-expected.txt
    M LayoutTests/platform/mac/fast/css/focus-ring-continuations-expected.txt
    M 
LayoutTests/platform/mac/fast/css/font-face-synthetic-bold-italic-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt
    M 
LayoutTests/platform/mac/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt
    M LayoutTests/platform/mac/fast/css/word-space-extra-expected.txt
    M LayoutTests/platform/mac/fast/dom/34176-expected.txt
    M LayoutTests/platform/mac/fast/dynamic/011-expected.txt
    M 
LayoutTests/platform/mac/fast/dynamic/insert-before-table-part-in-continuation-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/button-inner-block-reuse-expected.txt
    M LayoutTests/platform/mac/fast/forms/form-hides-table-expected.txt
    M LayoutTests/platform/mac/fast/forms/formmove3-expected.txt
    M 
LayoutTests/platform/mac/fast/forms/preserveFormDuringResidualStyle-expected.txt
    M LayoutTests/platform/mac/fast/inline/continuation-outlines-expected.txt
    M 
LayoutTests/platform/mac/fast/inline/continuation-outlines-with-layers-2-expected.txt
    M 
LayoutTests/platform/mac/fast/inline/continuation-outlines-with-layers-expected.txt
    M 
LayoutTests/platform/mac/fast/inline/inline-continuation-borders-expected.txt
    M LayoutTests/platform/mac/fast/inline/outline-continuations-expected.txt
    M LayoutTests/platform/mac/fast/invalid/002-expected.txt
    M LayoutTests/platform/mac/fast/invalid/003-expected.txt
    M LayoutTests/platform/mac/fast/invalid/004-expected.txt
    M LayoutTests/platform/mac/fast/invalid/007-expected.txt
    M LayoutTests/platform/mac/fast/invalid/nestedh3s-expected.txt
    M 
LayoutTests/platform/mac/fast/layers/remove-layer-with-nested-stacking-expected.txt
    M LayoutTests/platform/mac/fast/lists/olstart-expected.txt
    M 
LayoutTests/platform/mac/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt
    M 
LayoutTests/platform/mac/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt
    M 
LayoutTests/platform/mac/fast/multicol/span/span-as-immediate-child-property-removal-expected.txt
    M 
LayoutTests/platform/mac/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt
    M 
LayoutTests/platform/mac/fast/multicol/span/span-as-immediate-columns-child-removal-expected.txt
    M LayoutTests/platform/mac/fast/parser/001-expected.txt
    M LayoutTests/platform/mac/fast/parser/title-error-test-expected.txt
    M LayoutTests/platform/mac/fast/table/nobr-expected.txt
    M LayoutTests/platform/mac/fast/text/basic/001-expected.txt
    M LayoutTests/platform/mac/tables/mozilla/bugs/bug113235-1-expected.txt
    M LayoutTests/platform/mac/tables/mozilla/bugs/bug113235-3-expected.txt
    M LayoutTests/platform/mac/tables/mozilla/bugs/bug138725-expected.txt
    M LayoutTests/platform/mac/tables/mozilla/bugs/bug2050-expected.txt
    M LayoutTests/platform/mac/tables/mozilla/bugs/bug2267-expected.txt
    M LayoutTests/platform/mac/tables/mozilla/bugs/bug2469-expected.txt
    M LayoutTests/platform/mac/tables/mozilla/bugs/bug30273-expected.txt
    M LayoutTests/platform/mac/tables/mozilla/other/ms-expected.txt
    M 
LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug56024-expected.txt
    M 
LayoutTests/platform/mac/transforms/3d/general/perspective-non-layer-expected.txt
    M Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp

  Log Message:
  -----------
  [blocks-in-inline] Do not create anonymous block for single "middle block"
https://bugs.webkit.org/show_bug.cgi?id=303795

Reviewed by Alan Baradlay.

Improve performance by not having unnecessary boxes.

* Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp:
(WebCore::RenderTreeBuilder::Inline::wrapRunsOfBlocksInAnonymousBlock):

Canonical link: https://commits.webkit.org/304298@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to