Skip to content

Add HTMLPictureElement Interface #53

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

Merged
merged 1 commit into from
Jan 20, 2016
Merged

Add HTMLPictureElement Interface #53

merged 1 commit into from
Jan 20, 2016

Conversation

YuichiNukiyama
Copy link
Contributor

fix HTMLPictureElement interface definition is missing
#5323
issue. And add

methods of Document & Element interface which related HTMLPictureElement.

fix [HTMLPictureElement interface definition is missing
#5323](microsoft/TypeScript#5323). And add
relative method.
@msftclas
Copy link

Hi @YuichiNukiyama, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by Microsoft and real humans are currently evaluating your PR.

TTYL, MSBOT;

@@ -2569,6 +2569,8 @@ interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEven
* @param content The text and HTML tags to write.
*/
writeln(...content: string[]): void;
createElement(tagName: "picture"): HTMLPictureElement;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these will be ignored if they are defined here after the less specific signature: createElement(tagName: string).
@zhengbli why is the order messed up here? and how can we fix it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually the overloads wouldn't be ignored, even if they are defined after the more generic signature. The reason why the order is messed up is that the information in the json files are picked up after the emitting from the spec was done, so they are always placed at the end. I can fix it later, though it shouldn't affect the functionality now.

@zhengbli
Copy link
Contributor

LGTM.

zhengbli added a commit that referenced this pull request Jan 20, 2016
Add HTMLPictureElement Interface
@zhengbli zhengbli merged commit 2780426 into microsoft:master Jan 20, 2016
@YuichiNukiyama YuichiNukiyama deleted the fix5323 branch January 20, 2016 02:33
orta pushed a commit to orta/TSJS-lib-generator that referenced this pull request Jun 23, 2021
Co-authored-by: saschanaz <[email protected]>
Co-authored-by: Kagami Sascha Rosylight <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTMLPictureElement interface definition is missing
4 participants