Bug 1890277: part 2) Add `require-trusted-types-for` directive to CSP parser, guarded...
[gecko.git] / editor / reftests / spellcheck-contenteditable-focused-reframe.html
blob733ee05bb361f46b90139e6c0460fdf1446a753b
1 <!DOCTYPE html>
2 <html>
3 <body>
5 <div contenteditable id="testBox" onfocus="reframe(this);">blahblahblah</div>
6 <script type="text/javascript">
7 function reframe(textbox) {
8 textbox.style.display = "none";
9 textbox.style.display = "";
10 textbox.clientWidth;
12 //Adding focus to the textbox should trigger a spellcheck
13 document.getElementById("testBox").focus();
14 document.getElementById("testBox").blur();
15 </script>
17 </body>
18 </html>