W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 1998

HTML40 spec: possible error with IMG height/width attributes

From: Ian Hickson <exxieh@bath.ac.uk>
Date: Sat, 13 Jun 1998 20:30:08 +0100
Message-ID: <00ae01bd9701$b83feac0$cc20268a@hpxu>
To: www-html-editor@w3.org
A few weeks ago I posted this to www-html, but no conclusion was drawn and
no word from the w3c was given. I believe this is an error in the html40

Nic Hughes (on the ciwah group) pointed out to me that the 'height' and
'width' attributes are NOT deprecated (in HTML4) according to the attribute
index. However, it seems to me that according to section 13.7 they *are*:

>>13.7 Visual presentation of images, objects, and applets
>>All IMG and OBJECT attributes that concern visual alignment
>>and presentation have been deprecated in favor of style sheets.
>>13.7.1 Width and height

Since 'height' and 'width' on IMG are "override" heights and widths, they
certainly seem like "attributes that concern ... presentation". The
attributes are also present in the DTD.

Is this an error in the attribute index (please say that it is!) or an
error in the text? CSS has been able to specifiy height/width since the
early CSS1 days, IMHO there is no reason for height and width to stay.

[Note: http://www.w3.org/MarkUp/html40-updates/html40-errata.html states
that the width attribute on PRE *has* been deprecated. It does not mention
IMG's width/height attributes. Other IMG attributes, e.g. vspace, are listed
as deprecated in the attribute index.]

Ian Hickson
Version: 3.12   Info: www.geekcode.com
GIT/M/S d->-- s+: a--->? C++(+++)>$ U>*++++ P L+>+++++ E(+)>+++ W+++ N(+) o?
K? w@ O- !M V- PS+ PE- Y+ PGP>+ t 5+++>++++ X- R+(+++) tv b++(+++) DI++
D++(---)>++++ G>+++ e(*)>+++++ h!()(--) !r y?
Received on Saturday, 13 June 1998 15:29:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:20 UTC