mirror of
https://github.com/servo/servo.git
synced 2025-08-14 01:45:33 +01:00
Implements reset button
This commit is contained in:
parent
7e0c39a82d
commit
4d0a6a6bd6
2 changed files with 27 additions and 1 deletions
17
tests/html/form_reset.html
Normal file
17
tests/html/form_reset.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<html>
|
||||
<head></head>
|
||||
<body>
|
||||
<!-- Run with nc -l 8000 -->
|
||||
<form action="http://localhost:8000" method=get id="foo">
|
||||
<input name=bar type=checkbox checked>
|
||||
<input name=baz value="baz1" type=radio checked>
|
||||
<input name=baz value="baz2" type=radio>
|
||||
<input type=text id=hi name=bye value="hi!">
|
||||
<input type=text id=aloha name=empty value="">
|
||||
<input type=text id=welcome name=reallyempty>
|
||||
<textarea id=textarea>Hello
|
||||
TextArea!</textarea>
|
||||
<input type=reset>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue