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

> @tabatkins, could you please show an example?

I imagine that `display: none` on an element prevents it from being tabbed to. `display:contents` would do the same thing - there's nothing on-screen to be tabbed to!

> I agree with you that "we shouldn't try to get extra-smart with this", and the example with grid container's "grandchildren" displayed as separate grid items seems not more complicated to me than, e.g., absolutely positioned children of the visually hidden focused elements.

Note - I was responding to the idea that `display:contents` elements could still have `background` work on them, like `::first-line`.

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

Received on Wednesday, 2 May 2018 17:19:46 UTC