[webkit-changes] [WebKit/WebKit] 6dc9c6: [LBSE] Fix svg/repaint/image-with-clip-path.svg

Rob Buis noreply at github.com
Tue Mar 5 02:17:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6dc9c6a25c09a9b226ac1d692b4dcad6b29be15b
      https://github.com/WebKit/WebKit/commit/6dc9c6a25c09a9b226ac1d692b4dcad6b29be15b
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

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

  Log Message:
  -----------
  [LBSE] Fix svg/repaint/image-with-clip-path.svg
https://bugs.webkit.org/show_bug.cgi?id=270187

Reviewed by Nikolas Zimmermann.

On a transform change from identity matrix to non-identity matrix
the render layer needs to become a stacking context without relying on
a style update in the case of LBSE. Add logic for this in repaintOrRelayoutAfterSVGTransformChange.

Also add a correction to only call updateLayerTransform once in
repaintOrRelayoutAfterSVGTransformChange.

* LayoutTests/platform/mac-sonoma-wk2-lbse-text/TestExpectations:
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateTransform):
* Source/WebCore/rendering/RenderLayerModelObject.cpp:
(WebCore::RenderLayerModelObject::repaintOrRelayoutAfterSVGTransformChange):

Canonical link: https://commits.webkit.org/275683@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