Bug 1895153 - Implement "Find in page..." menu functionality r=android-reviewers...
[gecko.git] / editor / reftests / spellcheck-input-ref.html
blob2c2e48d6b6cf83439e1956734d20397a57cfb690
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <body>
4 <input type="text" value="blahblahblah" spellcheck="true">
5 <script>
6 var i = document.getElementsByTagName("input")[0];
7 i.focus(); // init the editor
8 i.blur(); // we actually don't need the focus
10 // Try to ensure the input element is repainted.
11 let rAFCounter = 0;
12 requestIdleCallback(function rAF() {
13 if (rAFCounter < 10) {
14 ++rAFCounter;
15 requestAnimationFrame(rAF);
16 } else {
17 document.documentElement.removeAttribute("class");
19 });
20 </script>
21 </body>
22 </html>