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

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

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 8 Nov 2008 17:46:48 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0811081745340.1237@hixie.dreamhostps.com>
On Mon, 16 Jun 2008, Adele Peterson wrote:
>
> I saw the need for this in our Web Inspector, which has a lot of custom 
> controls (including some that use contenteditable elements).  Some of 
> these don't have a default focused appearance, but its nice that they 
> can follow the focus pseudo-class CSS selector.
> 
> I agree that the disabled attribute would fit in well with this.  
> Again, it would be nice for these custom controls to be able to use the 
> disabled pseudo-class CSS selector.

I really would rather see XBL2's <div> element be extended to be
focusable and disablable rather than have HTML support this. Does that 
make sense?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 8 November 2008 09:46:48 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC