Re: IE 8 and getAttribute
- From: RobG <rgqld@xxxxxxxxxxxx>
- Date: Tue, 24 Mar 2009 04:36:30 -0700 (PDT)
On Mar 24, 4:40 pm, Garrett Smith <dhtmlkitc...@xxxxxxxxx> wrote:
David Mark wrote:[...]
Never heard of a "content attribute" either. Google has, but it has
nothing to do with Microsoft's invention.
That is a new term in HTML 5. The term "content attribute" helps to
differentiate between an Attribute attribute and a DOM attribute.
If fails. The terms HTML attribute and DOM property are already
pretty well understood and reasonably easily explained.
"For example, className is the DOM attribute for the class content
attribute and htmlFor is the DOM attribute for the for content
attribute)."
Right. Because it would not be valid to have a keyword as a property name..
That was already fixed. Introducing the term "content attribute" for
both HTML attributes and DOM properties is a step backward.
[...]
Well, one small step for MS. Were the technical writers that pressed
for time? They've had a decade to figure this out.
Not only MS - some of Apple's documentation must rate amongst the
worst ever.
--
Rob
.
- Follow-Ups:
- Re: IE 8 and getAttribute
- From: Garrett Smith
- Re: IE 8 and getAttribute
- References:
- IE 8 and getAttribute
- From: RobG
- Re: IE 8 and getAttribute
- From: David Mark
- Re: IE 8 and getAttribute
- From: Garrett Smith
- IE 8 and getAttribute
- Prev by Date: Re: FAQ Topic - What books are recommended for javascript? (2009-03-24)
- Next by Date: Re: Select boxes and variable amount of rows
- Previous by thread: Re: IE 8 and getAttribute
- Next by thread: Re: IE 8 and getAttribute
- Index(es):
Relevant Pages
|