[Webkit-unassigned] [Bug 5789] iframe with height in % within table is not rendered.

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Mar 21 15:02:45 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=5789


sam.weinig at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam.weinig at gmail.com




------- Comment #8 from sam.weinig at gmail.com  2006-03-21 15:02 PDT -------
This is actually a bug for all replaced elements (subclasses of RenderReplaced
in the the code) in webcore, including images.  It seems to stem from the fact
that we do not correctly honor the scenerio when a percentage height of an
object depends on its containing blocks height, which in turn can only be
calculated using the content height of the inner object.  My reading of the
correct behavior is to have the percentage height compute to the value of
'auto' and then perceed as normal (in the case of an image where there is an
intrinsic width and height, by using the specified width in conjuction with the
intrinsic ratio (h/w) to calculate the height, or with an iframe, by setting
the height to 150px), as can be seen in the section 10.5 of the CSS 2.1 spec.
(http://www.w3.org/TR/CSS21/visudet.html#the-height-property).  

Sidenote:  Firefoxes behavior here does not conform with what I am interpreting
the spec says, but instead uses the percentage value given to height to give a
computed value that is that percent of the size that it should be.  I don't
know what to make of that.


-- 
Configure bugmail: http://bugzilla.opendarwin.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