Re: Would be useful to have a pseudo-class to select modal dialogs

On Tue, May 6, 2014 at 3:30 PM, Ian Hickson <ian@hixie.ch> wrote:
> The new <dialog> element in HTML can be triggered in two different ways,
> one of which results in a modal dialog, and one of which results in a
> non-modal dialog. For modal dialogs, we want slightly different styles,
> e.g. fading out the background, or taking up the whole screen when the
> viewport is narrow. To that end, it would be useful to have a pseudo-class
> that matches modal dialogs specifically, e.g.: dialog:modal { ... }

I'm fine with adding this to Selectors.  Let's talk about this on the
telcon tomorrow.

~TJ

Received on Tuesday, 6 May 2014 23:35:15 UTC