[whatwg] Proposal for non-modal versions of modal prompts

Glenn Maynard glenn at zewt.org
Tue Mar 20 16:05:38 PDT 2012

On Mon, Mar 19, 2012 at 3:38 PM, Jochen Eisinger <jochen at chromium.org>wrote:

> I'd like to put forward a proposal for extending the modal prompts
> (alert/confirm/prompt) with an optional callback parameter. If the optional
> callback parameter is present, the javascript execution would resume
> immediately. The callback will be invoked when the dialog that doesn't need
> to be browser modal now, is closed.

I'm not sure this accomplishes anything.  It won't discourage people from
using the blocking dialog calls, because generally the entire reason people
use them is because the blocking is convenient.  People who don't need that
are likely to just use any old dialog overlay script that they can style to
match their page.

Glenn Maynard

More information about the whatwg mailing list