W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2007

[whatwg] <details> members

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 06 Aug 2007 16:28:18 +0200
Message-ID: <op.twm6hgrm64w2qv@annevk-t60.oslo.opera.com>
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
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 6 August 2007 07:28:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:36 UTC