mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-05-13 08:57:27 +00:00
Bug 754292 - Make spellcheck-textarea-ref.html blur its contents so that we would test the right thing; r=roc
This commit is contained in:
parent
a20cefea4b
commit
8c7678eb6d
@ -11,6 +11,7 @@
|
||||
textbox.focus();
|
||||
textbox.value = "blahblahblah";
|
||||
textbox.selectionStart = textbox.selectionEnd = 0;
|
||||
textbox.blur();
|
||||
}, false);
|
||||
</script>
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
}
|
||||
//Adding focus to the textbox should trigger a spellcheck
|
||||
document.getElementById("testBox").focus();
|
||||
document.getElementById("testBox").blur();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
@ -6,7 +6,8 @@
|
||||
<script type="text/javascript">
|
||||
//Adding focus to the textbox should trigger a spellcheck
|
||||
document.getElementById("testBox").focus();
|
||||
document.getElementById("testBox").blur();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -5,6 +5,7 @@
|
||||
<script type="text/javascript">
|
||||
var box = document.getElementsByTagName("textarea")[0];
|
||||
box.focus(); //Bring the textbox into focus, triggering a spellcheck
|
||||
box.blur(); //Blur in order to make things similar to other tests otherwise
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user