- From: 張俊芝 <notifications@github.com>
- Date: Thu, 09 Aug 2018 01:15:48 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 9 August 2018 08:16:11 UTC
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