Re: [w3c/webcomponents] Custom pseudo-classes for host elements via shadow roots (:state) (#738)

Question: does anyone foresee use cases where a `:state()` would be applied to non-custom elements? E.g. a hypothetical `x-accordion` component where the `:state` could indicate the "expanded" state of a section:

```
<x-accordion>
  <section>...</section>     
  <section>...</section>     <-- :state(expanded)
</x-accordion>
```

-- 
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-541168761

Received on Friday, 11 October 2019 18:13:01 UTC