Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b223af795341c3d435824a2adfe269f9e600f6f9
      
https://github.com/WebKit/WebKit/commit/b223af795341c3d435824a2adfe269f9e600f6f9
  Author: Taher Ali <[email protected]>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    A LayoutTests/svg/repaint/image-srcset-transform-animation-expected.html
    A 
LayoutTests/svg/repaint/image-srcset-transform-animation-zoom-expected.html
    A LayoutTests/svg/repaint/image-srcset-transform-animation-zoom.html
    A LayoutTests/svg/repaint/image-srcset-transform-animation.html
    A LayoutTests/svg/resources/square-translate.svg
    M Source/WebCore/rendering/RenderImage.cpp

  Log Message:
  -----------
  Fix repaint artifacts for animated SVG images with srcset descriptors
rdar://130617653

Reviewed by Simon Fraser.

This patch fixes the coordinate mapping issue when
animated SVG images use srcset descriptors.

When an SVG with animations is displayed via an <img> element with
srcset descriptors, the repaint rectangles incorrectly mapped,
causing only a portion of the rectangle being repainted.

* Source/WebCore/rendering/RenderImage.cpp:
(WebCore::RenderImage::repaintOrMarkForLayout):

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



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

Reply via email to