[webkit-changes] [WebKit/WebKit] 2410da: Background-clip: border-area on inlines need to re...

Simon Fraser noreply at github.com
Tue Aug 13 13:12:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2410dac70431f24a09005efcf318c580ace0dc5e
      https://github.com/WebKit/WebKit/commit/2410dac70431f24a09005efcf318c580ace0dc5e
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-clip/clip-border-area-box-decoration-break-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-clip/clip-border-area-box-decoration-break-ref.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-clip/clip-border-area-box-decoration-break.html
    M Source/WebCore/rendering/BackgroundPainter.cpp

  Log Message:
  -----------
  Background-clip: border-area on inlines need to respect -webkit-box-decoration-break
https://bugs.webkit.org/show_bug.cgi?id=277964
rdar://133697782

Reviewed by Tim Nguyen.

Need to pass `includeLeftEdge, includeRightEdge` to `BorderPainter::pathForBorderArea()` to handle box decoration
break.

Added WPT.

* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-clip/clip-border-area-box-decoration-break-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-clip/clip-border-area-box-decoration-break-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-clip/clip-border-area-box-decoration-break.html: Added.
* Source/WebCore/rendering/BackgroundPainter.cpp:
(WebCore::BackgroundPainter::paintFillLayer):

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



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


More information about the webkit-changes mailing list