ISSUE-2258: Address sizing SVG in referenced images

sizing SVG in html:img

Address sizing SVG in referenced images

Module: Integration
Raised by:
Erik Dahlström
Opened on:
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:
  1. Re: SVG-as-an-image and scaling the SVG by default (from on 2011-02-11)
  2. Re: Embedding SVG - need help (from on 2010-09-14)
  3. Minutes, SVG WG Telcon, 28 January 2010 (from on 2010-01-29)
  4. ISSUE-2258 (sizing SVG in html:img): Address sizing SVG in referenced images [Module: Integration] (from on 2009-04-11)

Related notes:

No additional notes.

Display change log ATOM feed

Dirk Schulze <>, Chair, Chris Lilley <>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: 2258.html,v 1.1 2020/01/17 13:20:42 carcone Exp $