W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: Extend use of namespaces

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 17 Sep 2010 08:00:09 -0700
Message-ID: <AANLkTinE=8DLPhoe=C623PK5U4gezHBNGXcfOO=79-zh@mail.gmail.com>
To: Paul Duffin <pduffin@volantis.com>
Cc: www-style <www-style@w3.org>
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 GMT

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