[whatwg] <dialog>'s position property

Ian Hickson ian at hixie.ch
Fri Jul 20 09:23:34 PDT 2012


On Fri, 20 Jul 2012, Matt Falkenhagen wrote:
> 
> I'm trying to implement the positioning of <dialog> in WebKit and am 
> looking at the UA style sheet for dialog [1]. Is there a reason 
> position:absolute is used instead of fixed?

If it was fixed, and the dialog was taller than the window, there would be 
no way to view the whole dialog.

-- 
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