[Qt-interest] QWebElement selector CSS2 or CSS3?

noam.rosenthal at nokia.com noam.rosenthal at nokia.com
Tue Apr 27 00:13:30 CEST 2010


Hi Sylvain.
QWebElement uses the same mechanism as Javascript's querySelector, which is CSS3 based.
See http://webkit.org/blog/156/queryselector-and-queryselectorall/

Cheers
No'am

________________________________
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of ext Sylvain Pointeau
Sent: Tuesday, April 27, 2010 2:56 AM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] QWebElement selector CSS2 or CSS3?

hello,

Does someone have an idea?
QWebElement uses CSS2 or CSS3?

Many thanks,
Sylvai

On Fri, Apr 23, 2010 at 10:20 AM, Sylvain Pointeau <sylvain.pointeau at gmail.com<mailto:sylvain.pointeau at gmail.com>> wrote:
Hello,

I read in the docs that the selector is CSS2

----
QWebElementCollection QWebElement::findAll ( const QString & selectorQuery ) const
Returns a new list of child elements matching the given CSS selector selectorQuery. If there are no matching elements, an empty list is returned.

Standard CSS2 selector syntax is used for the query.

Note: This search is performed recursively.
----

but on the QtLabs website, the blog indicates CSS3.

What is right? is it CSS2 or CSS3?

Best regards,
Sylvain

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100427/9252583d/attachment.html 


More information about the Qt-interest-old mailing list