[whatwg] <img> element comments

Henri Sivonen hsivonen at iki.fi
Sat Oct 13 06:03:03 PDT 2007


On Oct 13, 2007, at 01:55, Ian Hickson wrote:

> On Tue, 7 Nov 2006, Henri Sivonen wrote:
>> So I think width and height should not have conformance requirements
>> tied to pixel dimensions of the references image file. They are
>> presentational, but they are such a useful presentational  
>> optimization
>> that I think it doesn't make sense to try the get rid of that
>> presentationalism just to comply with a principle.
>
> Is the compromise in the spec today acceptable?

I don't think "If both attributes are specified, then the ratio of  
the specified width to the specified height must be the same as the  
ratio of the logical width to the logical height in the image file."  
solves any real problem given what browsers already have to  
implement, so I'd remove that sentence.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the whatwg mailing list