[Webkit-unassigned] [Bug 14749] percentage top value on position:relative child not calculated correctly if parent has percentage height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 25 01:41:56 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14749


xhva.net at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|percentage height on html   |percentage top value on
                   |and body elements not       |position:relative child not
                   |calculated if child is      |calculated correctly if
                   |position:relative           |parent has percentage height




------- Comment #4 from xhva.net at gmail.com  2007-07-25 01:41 PDT -------
While working on the min-height testcase, I realised the real issue here is the
top:50% not taking effect when the parent's height is a percentage. If I change
either of those percentages to PX values, the problem goes away.

The html and body elements are sized correctly, even in the case of min-height.
I've changed the bug summary to reflect that.

(Using just min-height with a PX value doesn't make top:50% calculate correctly
either. I'll file a new bug for that.)

Better testcases to follow. Thanks for your immediate response David :)


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



More information about the webkit-unassigned mailing list