diff options
Diffstat (limited to 'WebKit/qt/tests')
-rw-r--r-- | WebKit/qt/tests/qwebelement/tst_qwebelement.cpp | 4 | ||||
-rw-r--r-- | WebKit/qt/tests/qwebpage/tst_qwebpage.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp b/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp index 8db0ec3..2f1097a 100644 --- a/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp +++ b/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp @@ -887,7 +887,7 @@ void tst_QWebElement::nullSelect() void tst_QWebElement::firstChildNextSibling() { - m_mainFrame->setHtml("<body><!--comment--><p>Test</p><!--another commend><table>"); + m_mainFrame->setHtml("<body><!--comment--><p>Test</p><!--another comment--><table>"); QWebElement body = m_mainFrame->findFirstElement("body"); QVERIFY(!body.isNull()); @@ -902,7 +902,7 @@ void tst_QWebElement::firstChildNextSibling() void tst_QWebElement::lastChildPreviousSibling() { - m_mainFrame->setHtml("<body><!--comment--><p>Test</p><!--another commend><table>"); + m_mainFrame->setHtml("<body><!--comment--><p>Test</p><!--another comment--><table>"); QWebElement body = m_mainFrame->findFirstElement("body"); QVERIFY(!body.isNull()); diff --git a/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp b/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp index 70466c7..67e3ecd 100644 --- a/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp +++ b/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp @@ -862,7 +862,7 @@ public: void tst_QWebPage::cursorMovements() { CursorTrackedPage* page = new CursorTrackedPage; - QString content("<html><body<p id=one>The quick brown fox</p><p id=two>jumps over the lazy dog</p><p>May the source<br/>be with you!</p></body></html>"); + QString content("<html><body><p id=one>The quick brown fox</p><p id=two>jumps over the lazy dog</p><p>May the source<br/>be with you!</p></body></html>"); page->mainFrame()->setHtml(content); // this will select the first paragraph @@ -1054,7 +1054,7 @@ void tst_QWebPage::cursorMovements() void tst_QWebPage::textSelection() { CursorTrackedPage* page = new CursorTrackedPage; - QString content("<html><body<p id=one>The quick brown fox</p>" \ + QString content("<html><body><p id=one>The quick brown fox</p>" \ "<p id=two>jumps over the lazy dog</p>" \ "<p>May the source<br/>be with you!</p></body></html>"); page->mainFrame()->setHtml(content); @@ -1142,7 +1142,7 @@ void tst_QWebPage::textSelection() void tst_QWebPage::textEditing() { CursorTrackedPage* page = new CursorTrackedPage; - QString content("<html><body<p id=one>The quick brown fox</p>" \ + QString content("<html><body><p id=one>The quick brown fox</p>" \ "<p id=two>jumps over the lazy dog</p>" \ "<p>May the source<br/>be with you!</p></body></html>"); page->mainFrame()->setHtml(content); |