| <html> | |
| <head> | |
| <style type="text/css"> | |
| .testButton { | |
| background: green; | |
| height: 21px; | |
| width: 80px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h3><input type="submit"></h3> | |
| <p>This button should have the default submit button title:</p> | |
| <input type="submit" class="testButton"/> | |
| <p>This button should should have the title "Foo":</p> | |
| <input type="submit" value="Foo" class="testButton"/> | |
| <p>This button should have a single space in its title:</p> | |
| <input type="submit" value=" " class="testButton"/> | |
| <p>This button should have no title:</p> | |
| <input type="submit" value="" class="testButton"/> | |
| <h3><input type="reset"></h3> | |
| <p>This button should have the default reset button title:</p> | |
| <input type="reset" class="testButton"/> | |
| <p>This button should should have the title "Foo":</p> | |
| <input type="reset" value="Foo" class="testButton"/> | |
| <p>This button should have a single space in its title:</p> | |
| <input type="reset" value=" " class="testButton"/> | |
| <p>This button should have no title:</p> | |
| <input type="reset" value="" class="testButton"/> | |
| </body> | |
| </html> |