ISSUE-2258: Address sizing SVG in referenced images
sizing SVG in html:img
Address sizing SVG in referenced images
- State:
- RAISED
- Product:
- Module: Integration
- Raised by:
- Erik Dahlström
- Opened on:
- 2009-04-11
- Description:
- 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 pixels values and use 0,0,resolvedwidth,resolvedheight as viewBox - Related Actions Items:
- No related actions
- Related emails:
- Re: SVG-as-an-image and scaling the SVG by default (from dholbert@mozilla.com on 2011-02-11)
- Re: Embedding SVG - need help (from codedread@gmail.com on 2010-09-14)
- Minutes, SVG WG Telcon, 28 January 2010 (from anthony.grasso@cisra.canon.com.au on 2010-01-29)
- ISSUE-2258 (sizing SVG in html:img): Address sizing SVG in referenced images [Module: Integration] (from sysbot+tracker@w3.org on 2009-04-11)
Related notes:
No additional notes.
Display change log