/** Test for Bug 620936 **/
SimpleTest.waitForExplicitFinish();
addLoadEvent(function() { var i = document.querySelector("input");
i.focus();
i.setSelectionRange(100, 100);
is(i.selectionStart, 3, "The selection should be set to the end of the text");
is(i.selectionEnd, 3, "The selection should be set to the end of the text");
SimpleTest.finish();
});
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.