mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
e8037d0abc
--HG-- rename : layout/reftests/editor/spellcheck-textarea-focused.html => layout/reftests/editor/spellcheck-textarea-focused-reframe.html
18 lines
434 B
HTML
18 lines
434 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
|
|
<textarea id="testBox" onfocus="reframe(this);">blahblahblah</textarea>
|
|
<script type="text/javascript">
|
|
function reframe(textbox) {
|
|
textbox.style.display = "none";
|
|
textbox.style.display = "";
|
|
textbox.clientWidth;
|
|
}
|
|
//Adding focus to the textbox should trigger a spellcheck
|
|
document.getElementById("testBox").focus();
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|