[whatwg/dom] Allow <slot> to find slottables by slottables's IDs as well (#677)

Sometimes, slottables already have IDs, so it's not necessary to require them to also define reduntant `slot` attributes. If a `slot` is able to find its slottables by slottables's IDs, we would go a step further to make the document semantically brief(_It's semantical brevity_ which is one principial cause that inspires shadow DOM, isn't it?).

I'd like suggest we add a `for` attribute to <slot> for this.

```
<slot for="id-for-the-slottable"></slot>
```

-- 
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/677

Received on Thursday, 9 August 2018 08:16:11 UTC