On Wed, 4 Jun 2014, Dan Beam wrote: > > On Wed, 4 Jun 2014, Dan Beam wrote: > >> > >> It'd be nice to avoid more attribute accessors (and encourage authors > >> to use getAttribute() instead), but if <input> and <textarea> have > >> them we should probably be consistent. > > > > Can you elaborate on the cost of attribute accessors? > > Namespace exhaustion (maybe form.autocomplete() would've worked instead > of requestAutocomplete() if autocomplete="" hadn't taken it?)
I think it would have been very confusing to have a method with the same name as a content attribute. > multiple ways to do things (vs getAttribute) Well sure, but isn't the IDL attribute a lot cleaner-looking? > longer specs/IDLs/compile times. Surely authors' needs outweigh these. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'