W3C home > Mailing lists > Public > www-style@w3.org > May 2014

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 6 May 2014 16:34:27 -0700
Message-ID: <CAAWBYDC1KudHpDaUPQ_axu+QYd+DHqne3iooccmNOUOD+xnJ9w@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: www-style list <www-style@w3.org>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:26 UTC