[svgwg] Issue: Synchronize SVGImageElement with HTMLImageElement marked as Needs WG input

AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as
 "Needs WG input":

== 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.

See https://github.com/w3c/svgwg/issues/208

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