[whatwg/dom] Allow attachShadow to HTMLUnknownElement (#517)

I create a element with
```javascript
var toolbar = document.createElement('toolbar')
```
 then call

```javascript
toolbar.attachShadow({mode: 'open'})
```
It throws
```
VM4423:1 Uncaught DOMException: Failed to execute 'attachShadow' on 'Element': This element does not support attachShadow at <anonymous>:1:31
```
but this works:
```javascript
toolbar.createShadowRoot()
```
I don't want to use native custom element there, because it too restrictions, but i want use ShadowDOM there?
Why ShadowDOM V1 droped the support of `HTMLUnknownElement`?


-- 
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/issues/517

Received on Saturday, 7 October 2017 13:16:54 UTC