| <html> |
| <head> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <script> |
| function touchTest(event) { } |
| </script> |
| |
| <style> |
| button { |
| top: 300px; |
| left: 100px; |
| width: 200px; |
| height: 200px; |
| background-color: #FFAAAA; |
| position: absolute; |
| padding: 10px; |
| } |
| |
| input:focus { |
| outline: none; |
| border: 1px solid #4D90FE; |
| } |
| </style> |
| |
| </head> |
| |
| <body style="margin: 0;"> |
| <button ontouchstart="touchTest(event);"> |
| <p>This test checks that any interaction that fires touch events will not assist the currently focused node.</p> |
| <p>Thus, tapping in this touch-handling region should not deploy the keyboard for the autofocused input above.</p> |
| </button> |
| <input autofocus></input> |
| </body> |
| </html> |