- From: Anne van Kesteren <annevk@opera.com>
- Date: Tue, 01 Sep 2009 11:30:22 +0200
- To: "Maciej Stachowiak" <mjs@apple.com>, "Cameron McCormack" <cam@mcc.id.au>
- Cc: "Jonas Sicking" <jonas@sicking.cc>, "HTML WG" <public-html@w3.org>
On Tue, 01 Sep 2009 11:25:20 +0200, Maciej Stachowiak <mjs@apple.com> wrote: > On Sep 1, 2009, at 2:18 AM, Cameron McCormack wrote: > >> Maciej Stachowiak: >>> Perhaps it's time to start a spec on form control styling. In >>> WebKit, we've found that CSS styling plus control-specific >>> pseudo-elements can go a long way. Would such a spec more >>> appropriately be an HTML WG product or a CSS WG product? >> >> Tangential thought: if we do this, I’d love it if XBL bindings could >> expose a custom set of pseudo-elements that then could be mapped somehow >> to the shadow content. > > XBL2 allows this: > http://www.mozilla.org/projects/xbl/xbl2.html#the-xblpseudo The caveat however is that the pseudo-element has to be predefined, because otherwise the rule will be dropped from the style sheet. You might want something like ::binding(ident) or some such. -- Anne van Kesteren http://annevankesteren.nl/
Received on Tuesday, 1 September 2009 09:31:21 UTC