[Webkit-unassigned] [Bug 33988] New: Zoom affects embedded SVG incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 21 22:00:29 PST 2010


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

           Summary: Zoom affects embedded SVG incorrectly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: NeedsRadar
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mitz at webkit.org


Created an attachment (id=47176)
 --> (https://bugs.webkit.org/attachment.cgi?id=47176)
Test case

To reproduce, open the attached test case in Safari, select View > Zoom Text
Only, and then choose View > Zoom In a few times. Notice that the black HTML
div stays put, but the blue SVG square moves and grows in size.

Deselect View > Zoom Text Only. Notice that the blue SVG rectangle is still not
at the top left of the black box as it should be.

The issue appears to be that SVGSVGElement::currentScale() was designed for
standalone SVG documents, where it’s appropriate to take the Frame’s zoom
factor. For embedded SVG, this results in either applying text zoom to SVG
(which is not text) or applying the full page zoom factor a second time to SVG.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list