[webkit-changes] [WebKit/WebKit] 2a4bd9: Disable body to root background propagation when `...

Rob Buis noreply at github.com
Thu Feb 23 13:46:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2a4bd98a580e6517634eb4f04dc6f4d7f695212c
      https://github.com/WebKit/WebKit/commit/2a4bd98a580e6517634eb4f04dc6f4d7f695212c
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-color-body-propagation-008-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-color-body-propagation-008.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-color-body-propagation-009-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-color-body-propagation-009.html
    M Source/WebCore/rendering/BackgroundPainter.cpp

  Log Message:
  -----------
  Disable body to root background propagation when `content:paint` is set on body or the root
https://bugs.webkit.org/show_bug.cgi?id=252733

Reviewed by Tim Nguyen.

Disable body to root background propagation when `content:paint` is set on body or the root [1].

[1] https://drafts.csswg.org/css-contain-1/#contain-property (proposed correction 3)

* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-color-body-propagation-008-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-color-body-propagation-008.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-color-body-propagation-009-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-color-body-propagation-009.html: Added.
* Source/WebCore/rendering/BackgroundPainter.cpp:
(WebCore::BackgroundPainter::paintsOwnBackground):

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




More information about the webkit-changes mailing list