[whatwg] [wf2] some comments on DOM interface section

On Wed, 30 Nov 2005, Anne van Kesteren wrote:
>
> 7. Extensions to the HTML Level 2 DOM interfaces
> 
> The type DOM attribute of HTMLSelectElement links to the type DOM attribute of
> the HTMLButtonElement which is entirely different. According to DOM2HTML the
> type DOM attribute of HTMLSelectElement acts like: 'This is the string
> "select-multiple" when the multiple attribute is true and the string
> "select-one" when false.'

Fixed.


> 7.8. New DOM attributes for new content attributes
> 
> I do not think this section is entirely accurate. For example, the 
> autofocus DOM attribute does not reflect the value of the relevant 
> content attribute. It is a boolean attribute and returns true when the 
> content attribute is present, regardless of the value, and false when 
> the content attribute is not present.
> 
> Looking it through the autocomplete DOM attribute, the disabled DOM 
> attribute, the required DOM attribute and perhaps others also need to be 
> updated.

WF2 is using the term "reflect" in the way it is defined in Web Apps:

   http://whatwg.org/specs/web-apps/current-work/#reflect

I suppose I _could_ copy the definition over but that seems like more work 
than it is worth, really.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 30 November 2005 11:58:35 UTC