Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f5a70c20fda91efe174b625912b1e275fae34c71
      
https://github.com/WebKit/WebKit/commit/f5a70c20fda91efe174b625912b1e275fae34c71
  Author: Alan Baradlay <[email protected]>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    A 
LayoutTests/fast/css/content-visibility-hidden-deprecated-flex-container-with-fixed-descendant-crash-expected.txt
    A 
LayoutTests/fast/css/content-visibility-hidden-deprecated-flex-container-with-fixed-descendant-crash.html
    A 
LayoutTests/fast/css/content-visibility-hidden-grid-container-with-fixed-descendant-crash-expected.txt
    A 
LayoutTests/fast/css/content-visibility-hidden-grid-container-with-fixed-descendant-crash.html
    M Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp
    M Source/WebCore/rendering/RenderGrid.cpp

  Log Message:
  -----------
  [content-visibility] Out-of-flow content inside a skipped grid/deprecated 
flex is left dirty
https://bugs.webkit.org/show_bug.cgi?id=325052
<rdar://problem/188224139>

Reviewed by Simon Fraser.

Grid and -webkit-box need to handle skipped content the same way BFC does to 
ensure that no renderer stays dirty.

* 
LayoutTests/fast/css/content-visibility-hidden-deprecated-flex-container-with-fixed-descendant-crash.html:
 Added.
* 
LayoutTests/fast/css/content-visibility-hidden-grid-container-with-fixed-descendant-crash.html:
 Added.
* Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
* Source/WebCore/rendering/RenderGrid.cpp:
(WebCore::RenderGrid::layoutBlock):
* 
LayoutTests/fast/css/content-visibility-hidden-deprecated-flex-container-with-fixed-descendant-crash-expected.txt:
 Added.
* 
LayoutTests/fast/css/content-visibility-hidden-grid-container-with-fixed-descendant-crash-expected.txt:
 Added.

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



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

Reply via email to