W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Jun 2018 17:13:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-393947308-1527873199-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:31 UTC