[Qt-interest] QWebElement selector CSS2 or CSS3?

Sylvain Pointeau sylvain.pointeau at gmail.com
Tue Apr 27 11:45:24 CEST 2010


Cool thank you very much, I was not aware of those native selector
functions.

Best regards,
Sylvain

On Tue, Apr 27, 2010 at 12:13 AM, <noam.rosenthal at nokia.com> wrote:

>  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> 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/909cad2d/attachment.html 


More information about the Qt-interest-old mailing list