Re: [csswg-drafts] [css-display][css-ui] Should outline apply to elements with 'display: contents'?

Is the question of focusability of `display:contents` elements settled? I would expect them to stay focusable if they would have been focusable normally, as that's a semantic non presentational thing, but I have not followed that discussion as closely as I should have.

Assuming that they are focusable, that gives a rather strong usecase for supporting outline as well.

I'd be in favor of doing it in two steps: first, we should spec that UAs must display an outline on elements with `display: contents` when so instructed, without getting into what the outline looks like. In a later phase, as we narrow down the general question of outline interop, we can try and give more details about what shape it should have, what box it should encompass, and so on.

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

Received on Thursday, 15 November 2018 05:21:57 UTC