mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Implement extremely basic form submission (fixes #3554)
This commit is contained in:
parent
cc6e81103f
commit
b28a4c8858
5 changed files with 300 additions and 13 deletions
16
tests/html/form_submission_handsfree.html
Normal file
16
tests/html/form_submission_handsfree.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<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 name=bye value="hi!">
|
||||
</form>
|
||||
<script>
|
||||
// setTimeout because https://github.com/servo/servo/issues/3628
|
||||
setTimeout(function(){document.getElementById("foo").submit()},5000)
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue