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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 20:31:35 PDT 2012


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





--- Comment #11 from Matt Falkenhagen <falken at chromium.org>  2012-07-31 20:31:35 PST ---
(In reply to comment #9)
> > It seems it should reposition on resize. The spec says [...]
> 
> How do you go from what the spec says (as you quoted), to the conclusion that resizing should reposition as well?

I interpreted "the above algorithm" as the calculation described in the previous paragraph ("set up the default static position") to center the dialog in the viewport. Since a resize or scroll would cause the dialog to no longer be centered in the viewport, it sounds like the above algorithm should run again to keep it centered, that is, the top static position would be "next changed by the above algorithm".

I guess I'm reading "next changed by" incorrectly. Should the dialog not be repositioned on a scroll or resize?

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