[Webkit-unassigned] [Bug 15359] JPEG image not shown when height is specified as percentage inside a table
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 7 10:23:32 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=15359
ddkilzer at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david.storey at opera.com
------- Comment #7 from ddkilzer at webkit.org 2007-10-07 10:23 PDT -------
I believe this bug may be generalized to rendering replaced elements with a
percentage height within a table cell with auto height (e.g., no height
specified).
The default (intrinsic) size of a replaced element is 300px wide by 150px high.
Thus, this example should render a green 300x112 canvas element:
<table><tr><td>
<canvas style="background-color: #00ff00; height: 75%;"></canvas>
</td></tr></table>
On a local debug build of WebKit r26074 with Safari 3 Public Beta v. 3.0.3,
this renders a 300x0 canvas element (as verified by the Web Inspector).
On Opera 9.22, this renders as a 300x1 canvas element.
On Firefox 2.0.0.7, this renders a 300x112 canvas element, but the containing
table cell is 300x150 (instead of 300x112).
On FIrefox 3.0a9pre (07-Oct-2007), this renders as expected with a 300x112
canvas element.
Similar, this example referencing a 600x718 image should render as 450x538
(scaled by 75% proportionally):
<table><tr><td>
<img src="http://bugs.webkit.org/attachment.cgi?id=16519" alt="crypto"
height="75%">
</td></tr></table>
On a local debug build of WebKit r26074 with Safari 3 Public Beta v. 3.0.3,
this renders as a 0x0 image element (as verified by the Web Inspector).
On Opera 9.22, this renders as a 600x718 image element.
On Firefox 2.0.0.7, this renders a 450x538 image element, but the containing
table cell is 600x718 (instead of 450x538).
On FIrefox 3.0a9pre (07-Oct-2007), this renders as a 600x718 image element.
--
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