Skip to content

Commit

Permalink
add an input field to test keyboard works in inline web activity screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
evelynhung committed Sep 28, 2012
1 parent c2c2732 commit a18100f
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions test_apps/test-receiver-inline/index.html
Expand Up @@ -6,9 +6,12 @@
<title>Test Receiver</title>
<style>
button {
font-size: 40px;
font-size: 30px;
}

input {
font-size: 30px;
}

body {
background-color: #e0e0e0;
Expand All @@ -22,6 +25,8 @@

document.getElementById('button').disabled = '';
document.getElementById('cancelButton').disabled = '';
document.getElementById('number').focus();

};

window.onload = function () {
Expand Down Expand Up @@ -82,7 +87,9 @@
</head>
<body>
<h1>Inline Web Activities receiver</h1>
<button onclick="go()" disabled id="button">Send "Hello Back!"</button></p>
<button onclick="cancel()" disabled id="cancelButton">Cancel</button></p>
<p><button onclick="go()" disabled id="button">Send "Hello Back!"</button></p>
<!-- add an input field to test keyboard work well -->
<p><input type="number" id="number" size="4" /></p>
<p><button onclick="cancel()" disabled id="cancelButton">Cancel</button></p>
</body>
</html>

0 comments on commit a18100f

Please sign in to comment.