mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
initial
This commit is contained in:
parent
56f65fa72e
commit
f51f8d8e2d
61
layout/html/tests/formctls/optgroup_test1.html
Normal file
61
layout/html/tests/formctls/optgroup_test1.html
Normal file
@ -0,0 +1,61 @@
|
||||
<html>
|
||||
<body bgcolor="#c0d0f0">
|
||||
<form>
|
||||
Should be 2 rows high<br>
|
||||
<SELECT multiple="multiple">
|
||||
<OPTGROUP label="This is sentence 2. ">
|
||||
<OPTION>This is sentence 1.</OPTION>
|
||||
</OPTGROUP>
|
||||
</SELECT>
|
||||
<br>
|
||||
<br>
|
||||
Should be 2 rows high<br>
|
||||
<SELECT multiple="multiple">
|
||||
<OPTGROUP label="This is sentence 2. ">
|
||||
<OPTION label="This is sentence 1."></OPTION>
|
||||
</OPTGROUP>
|
||||
</SELECT>
|
||||
<br>
|
||||
<br>
|
||||
Should be 4 rows high<br>
|
||||
<SELECT multiple="multiple">
|
||||
<OPTGROUP label="This is sentence 2. ">
|
||||
<OPTION label="This is sentence 1."></OPTION>
|
||||
</OPTGROUP>
|
||||
<OPTGROUP label="This is sentence 2. ">
|
||||
<OPTION label="This is sentence 1."></OPTION>
|
||||
</OPTGROUP>
|
||||
</SELECT>
|
||||
<br>
|
||||
<br>
|
||||
Should be 3 rows high<br>
|
||||
<SELECT size=3 multiple="multiple">
|
||||
<OPTGROUP label="This is sentence 2. ">
|
||||
<OPTION label="This is sentence 1."></OPTION>
|
||||
</OPTGROUP>
|
||||
<OPTGROUP label="This is sentence 2. ">
|
||||
<OPTION label="This is sentence 1."></OPTION>
|
||||
</OPTGROUP>
|
||||
</SELECT>
|
||||
<br>
|
||||
<br>
|
||||
Should be 3 rows high<br>
|
||||
<SELECT multiple="multiple">
|
||||
<OPTION label="This is sentence 1. ">This is sentence 1.</OPTION>
|
||||
<OPTGROUP label="This is sentence 2. ">
|
||||
<OPTION label="This is sentence 3. ">This is sentence 3.</OPTION>
|
||||
</OPTGROUP>
|
||||
</SELECT>
|
||||
<br>
|
||||
<br>
|
||||
OptGroup with optional </OPTION> missing<br>
|
||||
Should look ok with 3 rows<br>
|
||||
<SELECT name="name">
|
||||
<OPTION value="a">Option with no close tag
|
||||
<OPTGROUP label="OptGroup">
|
||||
<OPTION label="Option in OptGroup" value="b">Option in OptGroup</OPTION>
|
||||
</OPTGROUP>
|
||||
</SELECT>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user