On Sat, 30 Mar 2002, Jelmer Feenstra wrote:
> 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
> >
> >
> >
> >
> > |
> >
> > 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.
Yes, I agree. But I don't think it's a scaling bug, IMO it's a table
rendering bug. E.g.
does make the table 512 by 512, but not the cell.
~$ dcop konqueror-2748 html-widget3 evalJS '
> document.mytable.firstChild.firstChild.firstChild.clientHeight'
return 66.
~$ dcop konqueror-2799 html-widget1 evalJS '
> document.mytable.firstChild.firstChild.firstChild.firstChild.clientHeight'
return 64
~$ dcop konqueror-2799 html-widget1 evalJS '
> document.mytable.firstChild.firstChild.firstChild.firstChild.height=512'
scales the image right.
BTW, I think I found why sometimes scrolling pages with images can be
slow. The images are scaled.
Regards,
Koos Vriezen