[webkit-changes] [WebKit/WebKit] 233340: [LBSE] Treat root svg with clip path as not obscur...

Rob Buis noreply at github.com
Sun Dec 24 00:12:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2333404a4a2e271f6ea0f797f792442db05990de
      https://github.com/WebKit/WebKit/commit/2333404a4a2e271f6ea0f797f792442db05990de
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2023-12-24 (Sun, 24 Dec 2023)

  Changed paths:
    M LayoutTests/platform/mac-sonoma-wk2-lbse-text/TestExpectations
    M Source/WebCore/rendering/RenderView.cpp

  Log Message:
  -----------
  [LBSE] Treat root svg with clip path as not obscuring background
https://bugs.webkit.org/show_bug.cgi?id=265589

Reviewed by Nikolas Zimmermann.

Treat root svg with clip path as not obscuring background. This is
needed since SVG documents and XML documents with SVG root nodes are
transparent, so in practise the non-clipped part would show up with
black background.

Tested by clip-path-on-svg-00*.svg.

* LayoutTests/platform/mac-sonoma-wk2-lbse-text/TestExpectations:
* Source/WebCore/rendering/RenderView.cpp:
(WebCore::RenderView::paintBoxDecorations):

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




More information about the webkit-changes mailing list