- From: Toby A Inkster <tobyink@goddamn.co.uk>
- Date: Wed, 12 Mar 2003 18:42:17 +0000
- To: Daniel Glazman <glazman@netscape.com>
- Cc: "www-html@w3.org" <www-html@w3.org>
- Message-ID: <20030312184217.GC5620@ophelia.goddamn.co.uk>
On Wed, Mar 12, 2003 at 10:45:21AM +0100, Daniel Glazman wrote:
| 1. it is possible to traverse a document's tree using the DOM without
| having to traverse all attributes. That's the point of parentNode,
| firstChild, lastChild, nextSibling and previousSibling.
| 2. the DOM is not attribute-oriented. To look for all elements carrying
| a given attribute, you have to traverse the elements' tree and then
| check for attribute presence for every element.
DOM != XML.
| 4. unless you work in a source environment, and unless you can use a
| style language having attribute selectors, attributes are not meant
| to be presented to the reader and have no influence on the rendering.
Try explaining to a Lynx user that the "alt" attribute of the <img/>
element is not meant to be presented to them and has no influence on its
rendering.
Try explaining to the user of a graphical browser that the "height" and
"width" attributes of the <img/> element have no influence on its
rendering.
| </Daniel>
You missed your opening <Daniel> tag.
--
Toby A Inkster BSc (Hons) ARCS | mailto:tobyink@goddamn.co.uk | pgp:0x6A2A7D39
aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:tobyink@a-message.de
http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
playing://(nothing)
Received on Wednesday, 12 March 2003 13:42:26 UTC