W3C home > Mailing lists > Public > public-xhtml2@w3.org > January 2009

Re: img element height and width

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 28 Jan 2009 15:43:14 +0100
To: "Shane McCarron" <shane@aptest.com>, "XHTML WG" <public-xhtml2@w3.org>
Message-ID: <op.uog1ucdasmjzpq@acer3010>

On Sat, 24 Jan 2009 18:10:00 +0100, Shane McCarron <shane@aptest.com>  
wrote:

>
> In working on the schema implementations, I noticed that we removed the  
> height and width attributes from the img element.  In my opinion this is  
> a bad idea - these are valuable hints during incremental rendering, AND  
> most user agents use the information to scale the image retrieved to the  
> size specified.
>
> I think we should put these attributes back in.  Or provide guidance in  
> the prose for how to work around their absense via CSS.

I prefer the latter (since I prefer there to be just one way of doing it,  
and the CSS way is better);
but I can live with the former.

Steven
Received on Wednesday, 28 January 2009 14:43:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 February 2010 18:12:50 GMT