Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / tests / data / button.html
blob20aee889447718f0b26ceedb86575dce0c2c8118
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 function changeText(id, newText) {
6 var node = document.getElementById(id);
7 node.childNodes[0].nodeValue = newText;
9 </script>
11 <meta name='viewport' content='width=device-width'/>
12 <style>
13 body {
14 margin: 0px;
16 </style>
17 </head>
19 <body>
20 <button type="button" id="tap_button" onclick="changeText('tap_button', 'updatedValue')" style="width:100px;height:100px">oldValue</button>
21 </body>
23 </html>