[Webkit-unassigned] [Bug 236344] New: SVG getEnclosureList is effected by page zoom.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 8 18:48:17 PST 2022


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

            Bug ID: 236344
           Summary: SVG getEnclosureList is effected by page zoom.
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: halifirien at gmail.com
                CC: sabouhallawa at apple.com, zimmermann at kde.org

Created attachment 451334

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

demo of issue

SVG getEnclosureList is effected by page zoom.

Attached is an html file with an svg element with 2 rectangles. The large rectangle entirely encloses a small rectangle. Calling `getBBox` on the large rectangle returns an SVGRect (box). Calling svg.getEnclosureList(box, svg) correctly returns the smaller rect.

Now when you use ⌘+ to Page zoom, getEnclosureList no longer returns any elements.

this effects safari 15, but I can confirm it also effect safari 13 (could not test 14)

thank you.

-- 
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/20220209/7eb67f22/attachment.htm>


More information about the webkit-unassigned mailing list