Re: Extend use of namespaces

On Fri, Sep 17, 2010 at 6:58 AM, Paul Duffin <pduffin@volantis.com> wrote:
> CSS 3 selectors adds namespace support but at the moment that is only for elements but extending it to cover other 'identifiers', would have a number of benefits:
> * It could replace the convention that browser vendors have to use a vendor specific prefix starting with a '-'.

It appears to be replacing that convention with a nearly identical
one.  Rather than -browser-foo, you have browser|foo.  I'm not seeing
any particular benefit here.

> * It would allow custom pseudo elements to be declared and used within XBL 2.0. At the moment it predefines a number of 'generic' pseudo elements http://www.w3.org/TR/xbl/#matching1 which is fine but it would be better if binding authors could define their own custom elements with names that are more specific to their binding.

As Anne said, we can solve this problem for XBL by just introducing a
new pseudoelement.  Extra complexity atop that isn't necessary.

~TJ

Received on Friday, 17 September 2010 15:01:07 UTC