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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 12 02:50:33 PDT 2016


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

--- Comment #6 from Mathias Menzel <self at mathiasmenzel.de> ---
Though I agree, that viewBox does sort of scaling alright, how come currentScale is undefined, when dealing with non-standalone SVG (where does it say so)?
And even if currentScale is undefined, why then is there an implementation at all, that is somewhat not helpful. Consider two SVG elements on a web page. Why would I want the whole web page to scale if I set the currentScale of one of the SVGs?
And why is currentTranslate, that has the same aspect, is properly implemented?

Especially in context with overflow/panning/scrollbars (overflow: scroll http://www.w3.org/TR/SVG11/masking.html#OverflowAndClipProperties - that do not display as of now) currentScale being bound to the very SVG Element would more then help. Thats what is more clearly specified in SVG2 anyway: http://www.w3.org/TR/SVG2/render.html#OverflowAndClipProperties

Then we would have SVG documents embedded in XHTML documents, that would be scalable and panable/scrollable, so there really would be a viewBox onto a document (just like UML Tools and others do, that show part of a big layout in MDI applications). If I remember right, that was already implemented in Browsers like 15 years back (pan and zoom of embedded SVG).

-- 
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/20160512/c2520a06/attachment.html>


More information about the webkit-unassigned mailing list