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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user