Re: [csswg-drafts] [selectors] :focus-visible and Shadow DOM (#5893)

I don't know a lot about this topic, but I have found this Chromium bug (https://crbug.com/1014091) which mentions
> Recently the spec for :focus has been updated, now if an element in a shadow tree is focused, the :focus selector should match on the host too, regardless of delegatesFocus. Currently in Blink it only matches when delegatesFocus is true, I think.

And it links to https://github.com/whatwg/html/pull/4731.

`delegatesFocus` seems to be in the DOM spec, but I'm not really sure if I get the definition there: https://dom.spec.whatwg.org/#shadowroot-delegates-focus

-- 
GitHub Notification of comment by mrego
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5893#issuecomment-772049225 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 2 February 2021 22:23:41 UTC