Re: [WICG/webcomponents] Shadow tree encapsulation and CSS (#804)

> * :focus doesn't do that (instead there is a delegatesFocus shadow root attribute to opt into this behavior)

That's simply not true. If an element inside a shadow tree has a focus, then the shadow host matches `:focus`. We specifically added `:focus-visible` which doesn't apply to shadow host chain. See https://jsfiddle.net/z9jkfcLq/1/ for an example.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/804#issuecomment-1361017701
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/804/1361017701@github.com>

Received on Wednesday, 21 December 2022 08:44:29 UTC