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

How does this work given the following?

```js
customElements.define("x-y", class extends HTMLElement {
  constructor() {
    return {}; // not a HTMLElement
  }
});
```

-- 
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#issuecomment-482702431

Received on Friday, 12 April 2019 19:55:37 UTC