W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2009

ISSUE-2258 (sizing SVG in html:img): Address sizing SVG in referenced images [Module: Integration]

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Sat, 11 Apr 2009 17:10:30 +0000 (GMT)
To: public-svg-wg@w3.org
Message-Id: <20090411171030.B320B6B62C@tibor.w3.org>

ISSUE-2258 (sizing SVG in html:img): Address sizing SVG in referenced images [Module: Integration]

http://www.w3.org/Graphics/SVG/WG/track/issues/2258

Raised by: Erik Dahlström
On product: Module: Integration

Something that is implemented already is the way <html:img> sizes itself, and how the viewBox is automatically synthesized if it's missing.
 
What Opera does currently for <html:img> SVGs is this: if the svg has no viewBox but has @width and @height that are not percentages, resolve the units to and use 0,0,resolvedwidth,resolvedheight as viewBox
Received on Saturday, 11 April 2009 17:10:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 11 April 2009 17:10:40 GMT