Re: Note on terminology: Attribute types

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 UTC