Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize SVGImageElement with HTMLImageElement #208

Open
AmeliaBR opened this issue Jul 14, 2016 · 2 comments
Open

Synchronize SVGImageElement with HTMLImageElement #208

AmeliaBR opened this issue Jul 14, 2016 · 2 comments

Comments

@AmeliaBR
Copy link
Contributor

The WHATWG Canvas 2D specs 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.

@Fuzzyma
Copy link

Fuzzyma commented May 30, 2018

The HTML WG is requesting reviews for HTML 5.3 before they move to RC. Wouldnt this be something to note there? Or does this not belong into the html specification?

@boggydigital boggydigital modified the milestones: SVG Core clean-up, SVG 2.1 Working Draft Jun 11, 2018
@BigWheel92
Copy link

does SVGImageElement have an attribute 'complete' like HTMLImageElement ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants