- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 5 Jun 2014 03:06:33 +0000 (UTC)
- To: Dan Beam <dbeam@chromium.org>
- Cc: Luis Farzati <lfarzati@gmail.com>, whatwg@lists.whatwg.org, Ilya Sherman <isherman@chromium.org>, Matthew Noorenberghe <MattN+whatwg@mozilla.com>, Evan Stade <estade@chromium.org>
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. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 5 June 2014 03:07:00 UTC