This commit is contained in:
Chris Pearce 2009-07-28 16:30:11 +12:00
Родитель 6563173321
Коммит 7a3513de80
2 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -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();
}