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

Ian Hickson ian at hixie.ch
Sat Nov 8 09:46:48 PST 2008


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list