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

There is no box of the element _itself,_ but _there are boxes_ of its contents/pseudo-elements which the user _can_ click on (and thus activate the element through event bubbling). From both user's and author's perspective, it's fundamentally different from `display:none` and is much more similar to offscreen rendering. And that's exactly the reason why tying focus to box tree is probably not the ideal solution since `display:contents` was introduced.

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

Received on Monday, 27 May 2019 08:08:50 UTC