[whatwg] require img dimensions to be correct?
Kristof Zelechovski
giecrilj at stegny.2a.pl
Sat Apr 12 08:27:28 PDT 2008
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 at 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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list