[Webkit-unassigned] [Bug 157567] outermost SVG currentScale should only scale SVG Element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 13 10:55:54 PDT 2016


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

--- Comment #10 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
Blaming the code of SVGSVGElement::currentScale() and SVGSVGElement::currentTranslate() gives us the following bug https://bugs.webkit.org/show_bug.cgi?id=11272.

Looking at the patches attached to this bug shows that, Rob Buis started by having currentScale() and currentTranslate() behave the same. But Maciej Stachowiak suggested that we treat the currentScale() as we treat the page zoom factor. Then Rob Buis changed the fix accordingly. He also added the following comment: "This version uses zoomFactor from the Frame. Note that it behaves a bit differently, ie. the root svg increases/decreases along the zoom, also when embedded. I noticed this behaviour when testing with Opera, and it seems intuitive." 

I am not sure I understand what he meant be the intuitive behavior in Opera since I do not have Opera 2007 version and currently the behavior in Safari is not intuitive at all. Open Embedded-SVG-CurrentScale or Standalone-SVG-CurrentScale and change the zooming factor of the page. Zoom-in scales the page down first before scaling it up.

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


More information about the webkit-unassigned mailing list