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

HTMLPictureElement interface definition is missing #5323

Closed
rayshan opened this issue Oct 19, 2015 · 5 comments · Fixed by microsoft/TypeScript-DOM-lib-generator#53
Closed
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fixed A PR has been merged for this issue Help Wanted You can do this

Comments

@rayshan
Copy link

rayshan commented Oct 19, 2015

Reference: https://html.spec.whatwg.org/multipage/embedded-content.html#the-picture-element

@RyanCavanaugh
Copy link
Member

Looks like this is part of the draft specification. @zhengbli what's our plan for those?

@zhengbli
Copy link
Contributor

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.

@rayshan
Copy link
Author

rayshan commented Oct 19, 2015

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%)

@zhengbli zhengbli added the Bug A bug in TypeScript label Oct 19, 2015
@zhengbli
Copy link
Contributor

Looks like Firefox and Chrome are already supporting it, plus Edge is also adding support soon. It should be added in then.

@zhengbli zhengbli added this to the TypeScript 1.8 milestone Oct 19, 2015
@zhengbli zhengbli added the Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript label Oct 19, 2015
@mhegazy
Copy link
Contributor

mhegazy commented Dec 8, 2015

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

@mhegazy mhegazy modified the milestones: Community, TypeScript 1.8 Dec 8, 2015
@mhegazy mhegazy added the Help Wanted You can do this label Dec 8, 2015
@mhegazy mhegazy modified the milestones: TypeScript 1.8, Community Jan 20, 2016
@zhengbli zhengbli added Fixed A PR has been merged for this issue and removed Fixed in TSJS repo labels Jan 20, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fixed A PR has been merged for this issue Help Wanted You can do this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants