-
Notifications
You must be signed in to change notification settings - Fork 431
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
Remove ShadowRoot#innerHTML #660
Conversation
I intentionally kept it when I did #603 because browsers out there support it and spec authors want to properly spec it. |
I think undocumented proposed APIs shouldn't be added but I'm not sure they should be kept when they are already added. |
@falsandtru IMO undocumented APIs can stay if they are widely implemented. Recently web folks tend to spec those widespread APIs rather than remove it from browsers. |
But they may be removed. |
@falsandtru True. When you are not sure, try opening an issue on the relevant web spec. Then the spec authors will discuss what should be done. If they decide to remove it, IMO that's when TSJS-lib-generator removes the API. |
Just to clarify, I mean "added" means "added to declaration files of TypeScript" at #660 (comment). |
I understood correctly then 😃 My opinion:
So I think it should stay. |
Hi @falsandtru, the spec just added the official Please run |
Why you didn't update http://w3c.github.io/webcomponents/spec/shadow/? |
@falsandtru Read the warning at the top of the spec, that's why I didn't 😆
See also WICG/webcomponents#661. |
I saw such extensional definition style for the first time. Confirmed that spec is used to both Element and ShadowRoot. |
Would you mind opening a new PR to remove the addedTypes.json item and replace it by the official IDL? |
I've no plan. Your PR wouldn't conflict. |
Fixes microsoft/TypeScript#29820