W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] require img dimensions to be correct?

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 3 Mar 2007 19:58:23 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0703031957170.11473@dhalsim.dreamhost.com>
On Sat, 3 Mar 2007, Elliotte Harold wrote:
>
> There's an open issue in Web Apps 1.0 on img dimensions:
> 
> The height and width attributes give the preferred rendered dimensions 
> of the image if the image is to be shown in a visual medium.
> 
> Should we require the dimensions to be correct? Should we disallow 
> percentages?
> 
> I'll vote -1 on requiring the dimensions to be correct. Today on the web 
> many pages and authors rely on being able to rescale an image with width 
> and height.
> 
> I'm +1 on allowing percentages. That seems like a useful feature to me.

The question isn't whether or not you should have the ability to scale 
images; it's clear that this is desirable. The question is whether it 
makes sense to put this in HTML as opposed to CSS. Why would HTML be the 
place to put this? If we put this in HTML, how can we still drop <font>, 
<table border>, <td width>, etc?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 3 March 2007 11:58:23 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC