W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2008

[whatwg] require img dimensions to be correct?

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Sat, 12 Apr 2008 17:27:28 +0200
Message-ID: <000901c89cb1$b9f3b480$1a01080a@POCZTOWIEC>
Image dimensions should provide information about the image.  
This information should correspond accurately to the image served.
CSS dimensions can be used for scaling in the user agent.

Note that the @style attribute applies to the FONT element only.  
In particular, it does not apply to IMG any more.

Chris

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Ian Hickson
Sent: Friday, April 11, 2008 9:02 AM
To: whatwg at whatwg.org
Subject: Re: [whatwg] require img dimensions to be correct?

On Fri, 16 Mar 2007, Benjamin West wrote:
> 
> <img style="height: 50px; width: 50px;" /> Why is accessing CSS a 
> problem?


Taking all the above into account, I'm not sure that there is really a 
strong argument to change the spec (which allows dimensions to be 
specified, but not percentages). So I have left the spec as is for now.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 12 April 2008 08:27:28 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:01 UTC