- From: Maciej Stachowiak <notifications@github.com>
- Date: Tue, 30 Apr 2019 09:37:01 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 30 April 2019 16:37:22 UTC
The reason this is mildly important: a past consensus was to expose this on ShadowRoot. This would be a bit more consistent with ::part. The main reason to expose it on ElementInternals instead would be if we believe it's useful to have custom states without having a Shadow DOM. I guess you could imagine custom elements that use the light DOM for their internals, but we felt no need to make ::part available in that case. Going the other way, is :state useful if you use Shadow DOM without custom elements? Doesn't seem intuitively obvious that ::part would be a Shadow DOM thing but :state would be a Custom Elements thing. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/738#issuecomment-488024076
Received on Tuesday, 30 April 2019 16:37:22 UTC