mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Backout bug 502259
This commit is contained in:
parent
6563173321
commit
7a3513de80
@ -683,7 +683,7 @@ nsPlaintextEditor::ExtendSelectionForDelete(nsISelection *aSelection,
|
||||
break;
|
||||
case eNext:
|
||||
result = selCont->CharacterExtendForDelete();
|
||||
// Don't set aAction to eNone (see Bug 502259)
|
||||
*aAction = eNone;
|
||||
break;
|
||||
case ePrevious:
|
||||
/* FIXME: extend selection over UTF-16 surrogates for Bug #332636
|
||||
|
@ -202,10 +202,6 @@ function execTests() {
|
||||
testDeleteNextWord(editor.firstChild, 0, "\u00A0text.");
|
||||
// testDeleteNextWord(editor, 0, "");
|
||||
|
||||
// Tests for Bug 502259
|
||||
setupTest("<p>foo</p>\n<p>bar</p>", 3);
|
||||
testDelete(editor.firstChild.firstChild, 3, "foobar");
|
||||
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user