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

[whatwg] Dialogs and prompts

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 12 Apr 2012 01:28:20 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1204120127420.22654@ps20323.dreamhostps.com>
On Wed, 11 Apr 2012, Tab Atkins Jr. wrote:
> On Wed, Apr 11, 2012 at 4:26 PM, Ian Hickson <ian at hixie.ch> wrote:
> > On Thu, 29 Mar 2012, Darin Fisher wrote:
> >> Also, there is a downside to the current convention of custom drawing 
> >> modal dialogs. ?Web pages that mash-up content from varied sources 
> >> would need to have some convention for queuing up dialog requests. 
> >> ?Ideally, modal dialogs should be shown in FIFO order rather than 
> >> all at the same time. This seems like a tricky problem. ?It seems 
> >> like something the platform could help with. ?I believe the <dialog> 
> >> proposal helps here. I think non-blocking alert, confirm and prompt 
> >> helps in a similar vein.
> >
> > The modal variant of <dialog> handles this (there's a stack of active 
> > modal dialogs).
> 
> Note that <dialog>'s model is FILO, while Darin was asking for FIFO.

I'm not sure I understand when one would want to queue a dialog to show 
after another dialog has been closed. Does anyone have an example of that 
in a Web app today?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 11 April 2012 18:28:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT