W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] Fullscreen changes to support <dialog>

From: Sean Hogan <shogun70@westnet.com.au>
Date: Thu, 05 Apr 2012 14:50:15 +1000
Message-ID: <4F7D2487.4040000@westnet.com.au>
On 5/04/12 2:39 PM, Tab Atkins Jr. wrote:
> On Wed, Apr 4, 2012 at 9:33 PM, Sean Hogan<shogun70 at westnet.com.au>  wrote:
>> On 5/04/12 2:15 PM, Tab Atkins Jr. wrote:
>>> Both of your examples would be done by using elements that are
>>> children of the<dialog>, and perhaps just positioned explicitly
>>> somewhere.
>> That doesn't sound like a good solution, but maybe I'm misunderstanding.
>> Look at my blog:
>> http://meekostuff.net/blog/
>> At the bottom is a simple site menu. If you click on the "contact" link it
>> pops up a dialog with a backdrop that covers the whole page... except for
>> the site menu. The dialog can be hidden by a "close" link in the dialog, OR
>> by clicking the "contact" link again.
> I'm not 100% certain, but I suspect this isn't doable with<dialog
> modal>, because that's not a modal dialog. It's a normal dialog; you
> just happen to be using a similar visual effect (darkening the rest of
> the page) as what modal dialogs typically do, presumably so as to
> focus attention on the dialog.

No, it uses a backdrop to cover the content of the page so that it 
becomes non-interactive.
It's just the bottom menu that doesn't lose interactivity, because it 
has a higher z-index.

Will non-modal `<dialog>` have a backdrop?

Received on Wednesday, 4 April 2012 21:50:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:12 UTC