[whatwg] [wf2] autofocus
ian at hixie.ch
Fri Nov 25 11:14:10 PST 2005
On Fri, 25 Nov 2005, Anne van Kesteren wrote:
> What happens when a form control is already there but its autofocus DOM
> attribute is set to "true"? Same as calling the .focus() method on the
> form control or same as "nothing happens"?
The spec lists all the requirements for autofocus="" handling, and none of
them imply anything should happen when the attribute is dynamically
changed, therefore nothing happens.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg