[Webkit-unassigned] [Bug 10526] embedded SVG object doesn't scale right

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 26 07:15:51 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=10526





------- Comment #14 from macdome at opendarwin.org  2006-12-26 07:15 PDT -------
A note to implementors:

- This will require HTMLObjectElement (or RenderReplaced) to detect that the
embedded type is an SVGDocument (or possibly more generally "scalable" content
(i.e. a PDF), and adjust the layout behavior accordingly.

- We already do "is this an SVG" detection in getSVGDocument() (sorta)

The current WebKit behavior is to treat embedded SVG files the same as HTML or
XHTML files would be treated.  Simply giving them a width and allowing them to
adjust their hight accordingly.  Sorta "xMinYMin slice" in SVG vernacular,
however with the special case of never allowing the X direction to scale beyond
the viewport (and no flow behavior like HTML, only whatever fixed width/height
was specified in the SVG).


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



More information about the webkit-unassigned mailing list