[whatwg/dom] Fix example of "undefined" custom element state (#266)

https://github.com/whatwg/html/issues/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 https://github.com/whatwg/html/issues/1396.

--

Not sure why so much Bikeshed churn, but whatevs...
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/266

-- Commit Summary --

  * Fix example of "undefined" custom element state

-- File Changes --

    M dom.bs (3)
    M dom.html (159)

-- Patch Links --

https://github.com/whatwg/dom/pull/266.patch
https://github.com/whatwg/dom/pull/266.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/266

Received on Tuesday, 7 June 2016 16:17:53 UTC