Re: [csswg-drafts] [css-display][css-aam][selectors-4] How elements with `display:contents` get focused?

It doesn't make much sense to focus something that doesn't have a box. `:hover` only works because it's applied to the whole parent chain. That is, comparing `:hover` and `:focus` isn't really appropriate. The comparison should be, I think, `:hover` and `:focus-within`, which should work with display: contents without issues AFAICT.

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

Received on Monday, 30 April 2018 19:43:16 UTC