[svgwg] Synchronize SVGImageElement with HTMLImageElement

AmeliaBR has just created a new issue for 
https://github.com/w3c/svgwg:

== Synchronize SVGImageElement with HTMLImageElement ==
The [WHATWG Canvas 2D 
specs](https://html.spec.whatwg.org/multipage/scripting.html#image-sources-for-2d-rendering-contexts)
 include this note:

> Although not formally specified as such, SVG image elements are 
expected to be implemented nearly identical to img elements. That is, 
SVG image elements share the fundamental concepts and features of img 
elements.

We should probably make that closer to reality.  Some missing pieces: 
readonly access to the `naturalWidth` and `naturalHeight` (aka 
intrinsic width/height in CSS terms) of the referenced image. A 
`complete` property to indicate whether it is done loading, and of 
course `srcset` and `sizes`, which we've talked about but haven't 
specced yet.

Please view or discuss this issue at 
https://github.com/w3c/svgwg/issues/208 using your GitHub account

Received on Thursday, 14 July 2016 16:16:59 UTC