Add ClearSelection for msw ie and gtk webkit, with a stub for osx webkit. Document and add to unit tests.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-07-15 09:36:08 +00:00
parent 0609769d3b
commit 41933aa5a0
8 changed files with 39 additions and 0 deletions

View File

@@ -207,6 +207,9 @@ void WebTestCase::Selection()
//We lower case the result as ie returns tags in uppercase
CPPUNIT_ASSERT_EQUAL("some <strong>strong</strong> text",
m_browser->GetSelectedSource().Lower());
m_browser->ClearSelection();
CPPUNIT_ASSERT(!m_browser->HasSelection());
}
void WebTestCase::Zoom()