Device motion and orientation should only be visible from the main frame's security...
[WebKit-https.git] / ManualTests / ios / keyboard-should-not-show-on-touch-event.html
1 <html>
2 <head>
3     <meta name="viewport" content="width=device-width, initial-scale=1">
4     <script>
5         function touchTest(event) { }
6     </script>
7
8     <style>
9         button {
10             top: 300px;
11             left: 100px;
12             width: 200px;
13             height: 200px;
14             background-color: #FFAAAA;
15             position: absolute;
16             padding: 10px;
17         }
18
19         input:focus {
20             outline: none;
21             border: 1px solid #4D90FE;
22         }
23     </style>
24
25 </head>
26
27 <body style="margin: 0;">
28     <button ontouchstart="touchTest(event);">
29         <p>This test checks that any interaction that fires touch events will not assist the currently focused node.</p>
30         <p>Thus, tapping in this touch-handling region should not deploy the keyboard for the autofocused input above.</p>
31     </button>
32     <input autofocus></input>
33 </body>
34 </html>