summaryrefslogtreecommitdiff
path: root/Source/WebKit/qt/WidgetApi/qwebframe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/qt/WidgetApi/qwebframe.cpp')
-rw-r--r--Source/WebKit/qt/WidgetApi/qwebframe.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/WebKit/qt/WidgetApi/qwebframe.cpp b/Source/WebKit/qt/WidgetApi/qwebframe.cpp
index 27cc73989..eb7821d53 100644
--- a/Source/WebKit/qt/WidgetApi/qwebframe.cpp
+++ b/Source/WebKit/qt/WidgetApi/qwebframe.cpp
@@ -768,9 +768,11 @@ QWebElement QWebFrame::documentElement() const
Returns a new list of elements matching the given CSS selector \a selectorQuery.
If there are no matching elements, an empty list is returned.
- \l{http://www.w3.org/TR/REC-CSS2/selector.html#q1}{Standard CSS2 selector} syntax is
+ \l{Standard CSS selector} syntax is
used for the query.
+ This method is equivalent to Document::querySelectorAll in the \l{DOM Selectors API}.
+
\sa QWebElement::findAll()
*/
QWebElementCollection QWebFrame::findAllElements(const QString &selectorQuery) const
@@ -784,8 +786,9 @@ QWebElementCollection QWebFrame::findAllElements(const QString &selectorQuery) c
given CSS selector \a selectorQuery. If there is no matching element, a
null element is returned.
- \l{http://www.w3.org/TR/REC-CSS2/selector.html#q1}{Standard CSS2 selector} syntax is
- used for the query.
+ \l{Standard CSS selector} syntax is used for the query.
+
+ This method is equivalent to Document::querySelector in the \l{DOM Selectors API}.
\sa QWebElement::findFirst()
*/