[whatwg/dom] Editorial: use IDL to simplify create an element (#751)

Per https://github.com/whatwg/html/pull/4525 a custom element constructor is required to be an HTMLElement.

Also, rather than assume another specification will make foreign namespace objects implement HTMLElement, let's instead assert that does not happen as we cannot test it.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Editorial: use IDL to simplify create an element

-- File Changes --

    M dom.bs (29)

-- Patch Links --

https://github.com/whatwg/dom/pull/751.patch
https://github.com/whatwg/dom/pull/751.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/751

Received on Friday, 12 April 2019 11:58:58 UTC