- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 22 Aug 2008 07:06:26 +0000 (UTC)
On Mon, 6 Aug 2007, Anne van Kesteren wrote: > 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. The only parts of the platform that remember their "initial" state that I can think of are those that can be reset using <input type=reset>, so I'm going to leave this one unaddressed. If there are particular use cases that come up, please let me know. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 22 August 2008 00:06:26 UTC