Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ad2da25310e43238bf638d2e6533b13c20f33d7
      
https://github.com/WebKit/WebKit/commit/0ad2da25310e43238bf638d2e6533b13c20f33d7
  Author: Antti Koivisto <[email protected]>
  Date:   2025-10-24 (Fri, 24 Oct 2025)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-scoping/slotted-text-with-flex-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-scoping/slotted-text-with-flex-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-scoping/slotted-text-with-flex.html
    M Source/WebCore/rendering/updating/RenderTreeUpdater.cpp

  Log Message:
  -----------
  Slotted Text Nodes get hidden when elements next to the slot change display
https://bugs.webkit.org/show_bug.cgi?id=299951
rdar://162193811

Reviewed by Ryosuke Niwa.

During render tree update flex triggers a change to the rebuild root to make a 
larger update but then
fails to update a display:contents <slot>.

Tests: 
imported/w3c/web-platform-tests/css/css-scoping/slotted-text-with-flex-ref.html
       
imported/w3c/web-platform-tests/css/css-scoping/slotted-text-with-flex.html
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-scoping/slotted-text-with-flex-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-scoping/slotted-text-with-flex-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-scoping/slotted-text-with-flex.html:
 Added.
* Source/WebCore/rendering/updating/RenderTreeUpdater.cpp:
(WebCore::RenderTreeUpdater::updateRebuildRoots):

If we change the rebuild root we should include styles for 'display:contents' 
elements too.

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



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

Reply via email to