[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: image scaling problem in khtml
From:       Jelmer Feenstra <email () jelmer ! cc>
Date:       2002-03-30 22:26:23
[Download RAW message or body]

On Saturday 30 March 2002 23:10, Koos Vriezen wrote:
> IIRC, the width/height attributes of table cells are suggestions for the
> HTTP client. If you modify the HTML to
>
> <TABLE>
> <TD WIDTH=512 HEIGHT=512 VALIGN=TOP >
> <IMG SRC="test.png" HEIGHT="512" WIDTH="512"></IMG>
> </TABLE>
>
> it scales right.

In that case it does, yes. However, the common behaviour by all other browsers 
is to scale the image to the available space. Khtml does this for horizontal 
space, but not for vertical space. So no matter what, it is a bug and I 
actually think it makes http://www.chilledbeats.org render incorrect (the 
left image should be stretched over the height of the cell). Probably quite 
some other sites render incorrectly because of this behaviour as well.

Jelmer Feenstra
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic