[Webkit-unassigned] [Bug 199364] New: CSS animations in SVG do not repaint when SVG is zoomed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 1 07:42:28 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=199364

            Bug ID: 199364
           Summary: CSS animations in SVG do not repaint when SVG is
                    zoomed
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joost at greenskin.net
                CC: zimmermann at kde.org

CSS animations in SVGs which are in a zoomed element are only partially visible. It looks like a dirty rectangle is defined at load time, not taking the zoom factor into account.

Example case to reproduce: https://jstsch.com/misc/2019/7/safari-svg-zoom.html. As you can see, the animation is only repainted at the size of the original image. If you resize your window you can force a repaint in the entire images.

Interestingly, when you give the first image a width of double the original image width and reload, you can see the other images repaint correctly. It looks like the image objects share the dimensions (but not the locations) of their painting rectangle: https://jstsch.com/misc/2019/7/safari-svg-zoom-2.html

Tested in Safari TP and latest Webkit build. Also reproduced on iPad.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190701/ae7ebe55/attachment.html>


More information about the webkit-unassigned mailing list