[iOS] Focus ring for checkboxes, radio buttons, buttons and search fields should...
[WebKit-https.git] / LayoutTests / fast / forms / ios / focus-textarea.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/ui-helper.js"></script>
5 <style>
6 textarea {
7     caret-color: transparent;
8 }
9 </style>
10 </head>
11 <body>
12 <textarea id="test"></textarea> <!-- Test PASSED if there is a focus ring -->
13 <script>
14 if (window.testRunner) {
15     testRunner.waitUntilDone();
16     let testElement = document.getElementById("test");
17     testElement.addEventListener("focus", () => testRunner.notifyDone(), { once: true });
18     UIHelper.keyDown("\t", ["altKey"]);
19 }
20 </script>
21 </body>
22 </html>