Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLButtonElement / value / getset.html
blob13e7d169029f7676530613121e774b178c9147be
1 <html>
2 <head>
3 <script>
4 function test() {
5 if (window.testRunner) {
6 window.testRunner.dumpAsText();
8 var but = document.getElementById('button');
9 but.value = 'Success';
10 document.writeln("Button value is: " + but.value);
12 </script>
13 </head>
14 <body>
15 <p>Tests: HTMLButtonElement::value</p>
17 <p>
18 This test changes the value of the button. The original value is "Fail"; the new value should be "Success"
19 </p>
21 <hr>
23 <input type=button id='button' value='Fail'></input>
25 </body>
26 <script>test()</script>
27 </html>