W3C home > Mailing lists > Public > public-html@w3.org > January to March 2007

IMG WIDTH/HEIGHT attributes (was: [whatwg] Video proposals)

From: Eric Bednarz <lists@bednarz.nl>
Date: Mon, 19 Mar 2007 18:48:04 +0100
To: public-html@w3.org
Message-ID: <m2648x9lbf.fsf@nntp.bednarz.nl>

Laurens Holst <lholst@students.cs.uu.nl> writes:

> Maybe in an ideal HTML, the image’s actual size would override the
> width and height attributes on the <img> element [...]

That would require an ideal specification in the first place; per
HTML 4.01, it is the explicit purpose of the WIDTH and HEIGHT attributes
to override the intrinsic dimensions (if any) of images and objects,
integer values representing a length unit that is normatively defined in
CSS 1. That doesn’t precisely make it “meta information”, or incorrect
to put it into CSS, does it?

I'm happy that somebody cared to bring that up here.  :)

-- 
<!DOCTYPE signature [
<!ELEMENT SIGNATURE - O EMPTY>
]>
<signature>
Received on Monday, 19 March 2007 17:48:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 19 March 2007 17:48:17 GMT