blob: e2fa7704ba9f7fd4b66fcd1394c9a90e83b4a2ff [file] [log] [blame]
<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>