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

Fix example of "undefined" custom element state #266

Merged
merged 1 commit into from Jun 7, 2016

Conversation

domenic
Copy link
Member

@domenic domenic commented Jun 7, 2016

whatwg/html#1297 led to a series of changes
which cause the custom element state to be set to "defined" by the
HTMLElement constructor. This invalidates the super()-then-throw
example. We instead replace it with an example that fails to call
super().

Fixes whatwg/html#1396.

Thanks @kojiishi for reporting.

Not sure why so much Bikeshed churn, but whatevs...

whatwg/html#1297 led to a series of changes
which cause the custom element state to be set to "defined" by the
HTMLElement constructor. This invalidates the super()-then-throw
example. We instead replace it with an example that fails to call
super().

Fixes whatwg/html#1396.
@annevk annevk merged commit 00250fc into master Jun 7, 2016
@annevk annevk deleted the fix-undefined-ce-example branch June 7, 2016 16:46
@domenic domenic added the topic: custom elements Relates to custom elements (as defined in DOM and HTML) label Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: custom elements Relates to custom elements (as defined in DOM and HTML)
Development

Successfully merging this pull request may close these issues.

None yet

2 participants