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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 28 Nov 2008 21:40:57 +0100
Message-ID: <op.ulcjqjcx64w2qv@annevk-t60.oslo.opera.com>
On Sat, 08 Nov 2008 18:46:48 +0100, Ian Hickson <ian at hixie.ch> wrote:
> 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?

How would you disable <td contenteditable> or <div contenteditable> with  
that strategy and have td:disabled and div:disabled (or something very  
close to it) work?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Friday, 28 November 2008 12:40:57 UTC

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