<!DOCTYPEHTML> <!-- This Source Code Form is subject to the terms of the Mozilla Public -License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththisfile,
- You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html> <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=686203
-->
/** Test for Bug 686203 */
SimpleTest.waitForExplicitFinish();
SimpleTest.waitForFocus(function() { var ce = document.getElementById("ce"); varinput = document.getElementById("input");
ce.focus();
var eventDetails = { button: 2 };
synthesizeMouseAtCenter(input, eventDetails);
sendString("Z");
/* check values */
is(input.value, "Z", "input correctly focused after right-click");
is(ce.textContent, "abc", "contenteditable correctly blurred after right-click on input");
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.