Backout 87b5e35236ef (bug 931746) breaks UI tests

This commit is contained in:
Kan-Ru Chen (陳侃如) 2013-11-05 15:04:22 +08:00
parent 3e69e11d54
commit 6fc061037b

View File

@ -344,12 +344,6 @@ let FormAssistant = {
break;
}
// Only handle events from our direct descendants
if (!(target instanceof content.window.Node) ||
!content.document.body.contains(target)) {
break;
}
if (isContentEditable(target)) {
this.showKeyboard(this.getTopLevelEditable(target));
this.updateSelection();