Re: [csswg-drafts] [selectors] :focus-visible matches on initial programmatic focus (#5885)

> Right, thus if it's false it never indicates focus, which means it'll not match the pseudo-class.

@emilio it feels like this contradict this issue description

> We have a test [focus-visible-010.html](https://wpt.fyi/results/css/selectors/focus-visible-010.html) that checks that a programmatic focus on the load event, causes that the element getting focused matches :focus-visible. This test passes in the 2 implementations of :focus-visible (Chromium and Firefox).


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


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

Received on Tuesday, 16 July 2024 19:16:06 UTC