- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 18 Dec 2008 18:34:51 +0000 (UTC)
On Thu, 18 Dec 2008, Philipp Serafin wrote: > > There is no reasoneable "default size" the page could adjust to. If the > author can't specify the size of a popup/dialog, what algorithm should > the UA use to find out the correct optimal size? Lay out the page at infinite height and width, then shrink the width until you get to the narrowest width that doesn't cause any overflow or line wrapping, then shrink the height until you get to the shortest height that doesn't cause overflow, then center it over the originating window. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 18 December 2008 10:34:51 UTC