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

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 UTC