Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5f91b3c85ea0ac4813f39b46f9b3af68be3fa356
      
https://github.com/WebKit/WebKit/commit/5f91b3c85ea0ac4813f39b46f9b3af68be3fa356
  Author: Alan Baradlay <za...@apple.com>
  Date:   2025-04-19 (Sat, 19 Apr 2025)

  Changed paths:
    A LayoutTests/fast/table/c-v-hidden-table-assert-expected.txt
    A LayoutTests/fast/table/c-v-hidden-table-assert.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-paint-containment-004-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-paint-containment-004-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-paint-containment-004.html
    M Source/WebCore/rendering/RenderLayer.cpp

  Log Message:
  -----------
  Do not try to paint skipped content
https://bugs.webkit.org/show_bug.cgi?id=291480

Reviewed by Simon Fraser.

1. skipped _roots_ do paint their decorations -but not their content
2. skipped content (content _inside_ skipped root's subtree) should never get 
painted

However skipped content may get painted directly, through RenderLayer.

This patch ensures that we don't try to paint skipped content at all.

* LayoutTests/fast/table/c-v-hidden-table-assert-expected.txt: Added.
* LayoutTests/fast/table/c-v-hidden-table-assert.html: Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-paint-containment-004-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-paint-containment-004-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-paint-containment-004.html:
 Added.
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayerContents):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to