- From: Ian Hickson <exxieh@bath.ac.uk>
- Date: Sat, 13 Jun 1998 20:30:08 +0100
- 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 spec. 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 http://www.w3.org/TR/REC-HTML4/struct/objects.html#adef-width-IMG 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 -----BEGIN GEEK CODE BLOCK----- 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? ------END GEEK CODE BLOCK------
Received on Saturday, 13 June 1998 15:29:15 UTC