- From: Dimitri Glazkov <dimitri.glazkov@gmail.com>
- Date: Fri, 30 Sep 2005 13:18:02 -0500
Just a barely relevant observation for the moment: CSS selectors really ought to be their own language, separate from CSS spec. Kind of like XPATH/XSLT relationship. I am running with the microformats crowd (or should I say herd :) occasionally, and the CSS selectors are a great fit for searching for a format and doing things with it (trying carefully to skirt the "binding behavior" religious debate :). :DG< On 9/30/05, Ian Hickson <ian at hixie.ch> wrote: > On Mon, 19 Sep 2005, Erik Arvidsson wrote: > > > > interface GetElementsBySelector { > > NodeList getElementsBySelector(in DOMString cssSelector); > > > > // returns true if an element matches the given CSS selector > > boolean matchesSelector(in Element el, in DOMString cssSelector); > > } > > I agree that these would be useful. The former is even mentioned in the > WA1 draft at the moment. However, it seems to me that this would be more > in the realm of the CSSWG rather than the WHATWG. > > -- > Ian Hickson U+1047E )\._.,--....,'``. fL > http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. > Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' >
Received on Friday, 30 September 2005 11:18:02 UTC