> Looking at my firebug console it does NOT show the added content of the CSS 
> selectors in the DOM view. I can also NOT get the elements with normal DOM 
> operations, so I guess a CSS selector engine is also NOT capable to do it. 
> But 
> I can also be wrong.
> 
> If we can't get a quick solution to your problem this way, let's talk about 
> what you like to achieve. Maybe we can work out another solution for you.

I was not looking for the :before DOM element, what I meant was, I believe that 
qx.bom.Selector.query("#myid:before");
should return the same thing as
qx.bom.Selector.query("#myid");
i.e. in this case, an array containing only the element with the ID myid.

I believe it should be the case because qx.bom.Selector.query() should return 
elements affected by the given selector, which is exactly the case here.

In any case, I achieved what I wanted by doing a 
qx.bom.Selector.query(rule.selectorText.split(":")[0]), but if others agree, it 
would be a good idea for this functionality to be included in 
qx.bom.Selector.query();

V.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to