[whatwg] Modal dialogs in HTML5

Ian Hickson ian at hixie.ch
Wed Dec 17 17:19:01 PST 2008

On Wed, 17 Dec 2008, João Eiras wrote:
> While I myself don't find any decent use case for positioning the 
> window, I think sizing the popup is a common and useful use case,besides 
> controlling other aspected already covered by window.open(). Because the 
> behavior for the features argument in window.open() and showModalDialog 
> are similar (if not equal), I would recommend adding it to 
> showModalDialog for the sake of normalization (you could link one spec 
> to the other) and because UA would eventually reuse the implementation 
> of window.open for both cases, therefore not requiring extra work from 
> scratch.

I haven't specced it for window.open() either.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list