summaryrefslogtreecommitdiffstats
path: root/WebKit/qt/Api/qwebelement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/qt/Api/qwebelement.cpp')
-rw-r--r--WebKit/qt/Api/qwebelement.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/WebKit/qt/Api/qwebelement.cpp b/WebKit/qt/Api/qwebelement.cpp
index 68fa17a..8121111 100644
--- a/WebKit/qt/Api/qwebelement.cpp
+++ b/WebKit/qt/Api/qwebelement.cpp
@@ -311,6 +311,11 @@ void QWebElement::setOuterXml(const QString &markup)
\note This is currently implemented for (X)HTML elements only.
+ \note The format of the markup returned will obey the namespace of the
+ document containing the element. This means the return value will obey XML
+ formatting rules, such as self-closing tags, only if the document is
+ 'text/xhtml+xml'.
+
\sa setOuterXml(), setInnerXml(), toInnerXml()
*/
QString QWebElement::toOuterXml() const
@@ -345,6 +350,11 @@ void QWebElement::setInnerXml(const QString &markup)
\note This is currently implemented for (X)HTML elements only.
+ \note The format of the markup returned will obey the namespace of the
+ document containing the element. This means the return value will obey XML
+ formatting rules, such as self-closing tags, only if the document is
+ 'text/xhtml+xml'.
+
\sa setInnerXml(), setOuterXml(), toOuterXml()
*/
QString QWebElement::toInnerXml() const