5 if (window
.testRunner
) {
6 window
.testRunner
.dumpAsText();
8 var but
= document
.getElementById('button');
10 document
.writeln("Button value is: " + but
.value
);
15 <p>Tests: HTMLButtonElement::value
</p>
18 This test changes the value of the button. The original value is
"Fail"; the new value should be
"Success"
23 <input type=button id='button' value='Fail'
></input>
26 <script>test()</script>