[Webkit-unassigned] [Bug 112047] -webkit-align-items: center/flex-end does not work as expected with overflow: auto/scroll

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 11 12:13:23 PDT 2013


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


Tony Chang <tony at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tony at chromium.org




--- Comment #3 from Tony Chang <tony at chromium.org>  2013-03-11 12:15:48 PST ---
This is how the spec is defined.  center is supposed to distribute space equally between the top and the bottom, so we overflow off the top.

If you want the more common behavior of "safe" centering (if there's overflow, only overflow in the scroll direction only), you can set the margin top and margin bottom to auto.

It's not clear to me if that works for what you're trying to do here since that doesn't produce a scroll bar.  What behavior do you want?

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