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

> If something is nothing at all, it can't have any visible/interactive parts at all.

Yes, and that is exactly the case here. There is absolutely no visible/interactive parts of the element on the screen.  It's *children* are visible, but that's something entirely different. display:contents, insofar as possible, makes it so that the element was never in the page at all.  (It exists so you can add wrappers for scripting or a11y purposes that aren't intended to show up in the page itself.)

As far as CSS is concerned, there is literally nothing there.

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

Received on Friday, 1 June 2018 17:13:22 UTC