W3C home > Mailing lists > Public > www-style@w3.org > July 2011

Re: [css4-ui] [selectors] new pseudo-elements for styling HTML forms was Re: [css3-ui] Review comments

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 14 Jul 2011 13:51:51 -0400
Message-ID: <4E1F2CB7.5080604@mit.edu>
To: Tantek Çelik <tantek@cs.stanford.edu>
CC: www-style@w3.org
On 7/14/11 1:47 PM, Tantek Çelik wrote:
> When someone implements a shadow DOM (for anything) and we can build
> working examples on it, perhaps we can then evaluate how much
> "simpler" a shadow DOM would be compared to alternatives.

Gecko has shadow DOMs for a bunch of form controls.  They're not exposed 
to script, obviously, but they're there.

>> Specifically, for each pseudo-element you have to figure out what CSS
>> properties do or do not apply and describe what they do, while keeping in
>> mind that the actual structure of the form controls might be completely
>> different in different UAs and that your specification probably shouldn't
>> overconstrain it.
>
> Which properties do/don't apply is something that an existing
> implementation has likely already had to tackle so we can use that as
> a starting point.

And _this_ is what I meant by "do what WebKit does".

-Boris
Received on Thursday, 14 July 2011 17:52:19 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:42 GMT