W3C home > Mailing lists > Public > public-appformats@w3.org > August 2006

Re: Decouple XBL2 From CSS

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Thu, 03 Aug 2006 15:28:37 -0400
Message-ID: <44D24E65.9020502@earthlink.net>
To: Antoine Quint <aq@fuchsia-design.com>
CC: public-appformats@w3.org

Antoine Quint wrote:
> On 3 aoūt 2006, at 00:12, Matthew Raymond wrote:
>>    Perhaps I'm mistaken, but I was under the impression that
>> <xbl:binding xbl:element="[W3C Selector]"> could be used for binding.
> 
> That's right. However, the selector is CSS3 Selectors only, if I  
> follow the reference in the current XBL2 draft. I think it would be  
> great if XPath selectors were also accepted for bindings, if only  
> because XPath is well understood by browsers out there today (well,  
> at least WebKit, Gecko-based browsers, Opera and Internet Explorer)  
> and is a core XML technology which XBL is poised to become too.
> 
> Also, XPath is already a W3C recommendation.

   There was talk about this on www-style, and I believe there were
performance considerations that made XPath suboptimal in comparison to
Selectors. You might want to read through the www-style archives
regarding this.
Received on Thursday, 3 August 2006 19:29:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:19 GMT