[whatwg] <details> members

Anne van Kesteren annevk at opera.com
Mon Aug 6 07:28:18 PDT 2007

On Sat, 04 Aug 2007 08:40:08 +0200, Ian Hickson <ian at hixie.ch> wrote:
> I don't know. Currently, the only elements that use defaultFoo are
> <option> with defaultSelected, <input> with defaultValue and
> defaultChecked, and <textarea> and <output> with defaultValue. Given that
> only the first three map to attributes (the last two map to textContent),
> and that in all five cases the "default"ness is directly related to the
> fact that they can be reset using .reset() and reset buttons, I'm not
> convinced that there really is a strong precedent here. The <details>
> element's "open" attribute is quite a different beast, IMHO. Could you
> elaborate on how this could be confusing? I'm not sure I really  
> understand why authors would have problems with this.

It's mostly that it makes sense to me to have the initial state available  
somehow without having to keep track of it as an author. I can't really  
think of any use cases at the moment though.

Anne van Kesteren

More information about the whatwg mailing list