[Webkit-unassigned] [Bug 64046] Wrong image height in absolutely positioned div in relatively positioned parent with bottom padding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 6 20:36:54 PDT 2011


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


Alice Boxhall <aboxhall at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |aboxhall at chromium.org
     Ever Confirmed|0                           |1




--- Comment #3 from Alice Boxhall <aboxhall at chromium.org>  2011-07-06 20:36:54 PST ---
Pulling together the relevant parts of the CSS spec:
http://www.w3.org/TR/CSS2/visudet.html#propdef-height
"<percentage> Specifies a percentage height. The percentage is calculated with respect to the height of the generated box's containing block."

http://www.w3.org/TR/CSS2/visudet.html#containing-block-details
"If the element has 'position: absolute', the containing block is established by the nearest ancestor with a 'position' of 'absolute', 'relative' or 'fixed', in the following way:
In the case that the ancestor is an inline element (...)
Otherwise, the containing block is formed by the padding edge of the ancestor."

So yes, this is a bug.

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