| <html> |
| <head> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <script> |
| function handleTouchEvent(event) { |
| event.target.focus(); |
| event.preventDefault(); |
| } |
| </script> |
| |
| <style> |
| input:focus { |
| outline: none; |
| border: 1px solid #4D90FE; |
| } |
| </style> |
| |
| </head> |
| |
| <body style="margin: 0;"> |
| <p>This tests checks that a node can be assisted when focused due to a touch event, even when the focus does not change.</p> |
| <p>Tapping the below input should show the keyboard.</p> |
| <input autofocus ontouchstart="handleTouchEvent(event);"></input> |
| </body> |
| </html> |