[Webkit-unassigned] [Bug 90670] Vertically center non-anchored <dialog> elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 23 19:27:18 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90670





--- Comment #2 from Matt Falkenhagen <falken at chromium.org>  2012-07-23 19:27:23 PST ---
(In reply to comment #1)
> Ideally we'd use the CSS from the spec in html.css. Do you know why it uses position:absolute instead of fixed?

Ian Hickson explains: "If it was fixed, and the dialog was taller than the window, there would be no way to view the whole dialog."
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-July/036667.html>

Implementation-wise, I guess it may still be possible to do option 2) but special case for dialogs taller than the window, and we'd have to handle size changing dynamically.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list