W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: Note on terminology: Attribute types

From: Maciej Stachowiak <mjs@apple.com>
Date: Tue, 12 Jun 2007 11:12:34 -0700
Message-Id: <D7CABAB8-3F0D-4DA9-8839-8E13600598CA@apple.com>
Cc: HTML WG <public-html@w3.org>
To: Henrik Dvergsdal <henrik.dvergsdal@hibo.no>


On Jun 12, 2007, at 4:15 AM, Henrik Dvergsdal wrote:

>
> I think we will gain precision by using consistent, spec-wide  
> terminology to distinguish between DOM attributes and attributes  
> defined on elements (reflected by the DOM Attr interface). The spec  
> uses (at least) three different terms for the latter:
>
> "attribute"
> "content attribute"
> "element attribute"
>
> IMO "element attribute" is the most unambiguous and descriptive  
> alternative. At least, simply using "attribute" should be avoided.

I would say "markup attribute" and "API attribute" or "IDL attribute"  
for the two kinds. (Adding to the confusion, IDL attributes are  
reflected in ECMAScript as properties, but this has nothing to do  
with CSS properties...).

  - Maciej
Received on Tuesday, 12 June 2007 18:12:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:00 GMT