-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
HTMLPictureElement interface definition is missing #5323
HTMLPictureElement interface definition is missing #5323
Comments
Looks like this is part of the draft specification. @zhengbli what's our plan for those? |
Our support to these draft specification is normally determined by how the current browsers support it. If it is implemented in most of the browsers, we would add it now. If not, we might hold it and open for discussion. |
If I understand correctly based on this FAQ: https://wiki.whatwg.org/wiki/FAQ#What_does_.22Living_Standard.22_mean.3F, the spec is a "living standard", i.e. will never be "complete" or "frozen". For reference: http://caniuse.com/#feat=picture (currently shows 54%) |
Looks like Firefox and Chrome are already supporting it, plus Edge is also adding support soon. It should be added in then. |
PRs are welcomed. here is some documentation for adding new types to lib.d.ts: https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes |
Reference: https://html.spec.whatwg.org/multipage/embedded-content.html#the-picture-element
The text was updated successfully, but these errors were encountered: