[Webkit-unassigned] [Bug 225366] New: Underinvalidation for SVG transforms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 4 14:29:05 PDT 2021


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

            Bug ID: 225366
           Summary: Underinvalidation for SVG transforms
           Product: WebKit
           Version: Safari 14
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: me at pavpanchekha.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 427700

  --> https://bugs.webkit.org/attachment.cgi?id=427700&action=review

Minimized test case that reproduces the bug

When an SVG "transform" property is changed on two tested SVG elements, the Webkit layout engine (in Safari 14.1) does not fully update the layout.

Consider the attached test file. It uses a CSS `max-width` media query to trigger a change to the `transform` property of an SVG `text` element; in a window narrow than 800px, part of the `text` is offscreen, while in a wider window none of it is. If you start with a wide window (the whole text is onscreen), resize the screen to narrow it (so that part of it is offscreen), and then widen again, the text stays partially offscreen. The same works in reverse. You can confirm that this is an underinvalidation bug by starting wide, narrowing, and then refreshing. The refresh changes the layout of the page—it triggers a from-scratch layout pass which circumvents underinvalidation bugs.

I've confirmed that the issue is absent in Firefox (88) and Chrome (90) on macOS.

-- 
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/20210504/39b57819/attachment-0001.htm>


More information about the webkit-unassigned mailing list