[Webkit-unassigned] [Bug 26559] When a block's height is determined by min-height/max-height, children with percentage heights are sized incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 27 17:01:13 PDT 2010


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


And Clover <bobince at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bobince at gmail.com




--- Comment #2 from And Clover <bobince at gmail.com>  2010-09-27 17:01:13 PST ---
Same root cause as bug 14762. The percentage unit applied to `height`, `top` and `bottom`, when used on an element with static or relative positioning, is calculated purely from the the containing block's `height` CSS property, and not its computed height (which would take min/max-height into account).

The same does not occur on widths or on elements with absolute or fixed positioning.

Other browsers use the computed height of the containing block (except in the case where the computed height is dependent on the child height, ie `auto`, as per CSS2.1 section 10.5).

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