mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
58d3d65ab2
* * * [mq]: test-fixes
20 lines
506 B
HTML
20 lines
506 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
|
|
<textarea id="testBox" style="padding:2px;" readonly></textarea>
|
|
<script type="text/javascript">
|
|
//Adding focus to the textbox should trigger a spellcheck
|
|
var textbox = document.getElementById("testBox");
|
|
addEventListener("load", function() {
|
|
textbox.readOnly = false;
|
|
textbox.focus();
|
|
textbox.value = "blahblahblah";
|
|
textbox.selectionStart = textbox.selectionEnd = 0;
|
|
textbox.blur();
|
|
}, false);
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|