mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
d464f06c02
commit
d57d737946
@ -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…
Reference in New Issue
Block a user