mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement simple layout for text, button, radio, and checkbox inputs. Implement simple interaction for checkboxes and radio buttons.
This commit is contained in:
parent
9b20d6e7d2
commit
f70bb68503
10 changed files with 422 additions and 50 deletions
17
tests/html/test-inputs.html
Normal file
17
tests/html/test-inputs.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<style>
|
||||
</style>
|
||||
<div><input type="checkbox"></div>
|
||||
<div><input type="text" size="30" value="placeholder"></div>
|
||||
<div><input type="text" size="10" value="whefghijklmnopqrstuvwxyzabcdefg"></div>
|
||||
<div><input type="text" value=""><div>
|
||||
<div><input type="submit"><input type="reset"><div>
|
||||
<div><input type="checkbox"></div>
|
||||
<div><input type="checkbox" checked></div>
|
||||
<div>group 1
|
||||
<div><input type="radio"></div>
|
||||
<div><input type="radio" checked></div>
|
||||
</div>
|
||||
<div>group 2
|
||||
<div><input type="radio" name="a" checked></div>
|
||||
<div><input type="radio" name="a"></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue