2010-07-18 Andreas Kling <andreas.kling@nokia.com>
authorandreas.kling@nokia.com <andreas.kling@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Jul 2010 03:49:20 +0000 (03:49 +0000)
committerandreas.kling@nokia.com <andreas.kling@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Jul 2010 03:49:20 +0000 (03:49 +0000)
        Reviewed by Antonio Gomes.

        [Qt] tst_QWebPage fails cursorMovements and textSelection
        https://bugs.webkit.org/show_bug.cgi?id=42531

        Correct the HTML used by these tests.

        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::cursorMovements):
        (tst_QWebPage::textSelection):
        (tst_QWebPage::textEditing):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63641 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/qt/ChangeLog
WebKit/qt/tests/qwebpage/tst_qwebpage.cpp

index 0e243885065aadcd2b17eab0c624d42a36c2e6c9..a6c17f004e2b43d330a7bfb5e7cee540f153690a 100644 (file)
@@ -1,3 +1,17 @@
+2010-07-18  Andreas Kling  <andreas.kling@nokia.com>
+
+        Reviewed by Antonio Gomes.
+
+        [Qt] tst_QWebPage fails cursorMovements and textSelection
+        https://bugs.webkit.org/show_bug.cgi?id=42531
+
+        Correct the HTML used by these tests.
+
+        * tests/qwebpage/tst_qwebpage.cpp:
+        (tst_QWebPage::cursorMovements):
+        (tst_QWebPage::textSelection):
+        (tst_QWebPage::textEditing):
+
 2010-07-18  Andreas Kling  <andreas.kling@nokia.com>
 
         Reviewed by Antonio Gomes.
index 70466c7150593209d31f57086243312c31503cda..67e3ecd4f56f2c269181b6c2c388ce2dfc551689 100644 (file)
@@ -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);