/** 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");