LayoutTests:
Reviewed by levi & thatcher
<http://bugzilla.opendarwin.org/show_bug.cgi?id=9642>
GMail Editor: Operations that use drop down menus blow away the selection
* editing/selection/drag-to-contenteditable-iframe-expected.txt:
* editing/selection/subframe-with-selection-expected.checksum: Added.
* editing/selection/subframe-with-selection-expected.png: Added.
* editing/selection/subframe-with-selection-expected.txt: Added.
* editing/selection/subframe-with-selection.html: Added.
WebKit:
Reviewed by levi & thatcher
<http://bugzilla.opendarwin.org/show_bug.cgi?id=9642>
GMail Editor: Operations that use drop down menus blow away the selection
* WebView/WebHTMLView.m:
(-[NSArray maintainsInactiveSelection]): Maintain an inactive selection
when resigning as first responder if the selection is editable
or if the WebView tells us to.
* WebView/WebView.m:
(-[WebView maintainsInactiveSelection]): Just because a WebView is
editable doesn't mean selections inside subframes will be. Return
NO by default.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15358
268f45cc-cd09-0410-ab3c-
d52691b4dbfc