[Webkit-unassigned] [Bug 14449] REGRESSION (r14345-r14375): Absolutely positioned image does not scale to containing element's height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 7 04:05:46 PDT 2007


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





------- Comment #9 from mitz at webkit.org  2007-07-07 04:05 PDT -------
Actually, I think this case is simply specified earlier, in
<http://www.w3.org/TR/CSS21/visudet.html#the-height-property>:

"The percentage is calculated with respect to the height of the generated box's
containing block. If the height of the containing block is not specified
explicitly (i.e., it depends on content height), and this element is not
absolutely positioned, the value computes to 'auto'."

So while it's true that in this case the height of the CB Is not specified
explicitly, since the element *is* absolutely positioned, you should still
compute the percentage relative to the CB.


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