W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2008

[whatwg] comment on autofocus attribute from Web Forms 2.0 spec

From: Adele Peterson <adele@apple.com>
Date: Mon, 16 Jun 2008 12:17:18 -0700
Message-ID: <E32C6794-C605-4F41-BB64-1E3EDB3A039C@apple.com>
In HTML5, focus() and blur() are now defined on HTMLElement instead of  
being restricted to specific form elements.

In Web Forms 2.0, the autofocus attribute is defined for "any form  
control (except hidden and output controls)".  It seems like it would  
make more sense to allow autofocus to be on any HTMLElement, and have  
it follow the same focusable rules that focus() follows.

Thanks,
	Adele
Received on Monday, 16 June 2008 12:17:18 UTC

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