Mozilla/mozilla/layout/html/tests/formctls/base/optgroup_test1.html
bernd.mielke%snafu.de 7044227450 moving testfiles into new directory not part of the build
git-svn-id: svn://10.0.0.236/trunk@116266 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-09 14:49:42 +00:00

62 lines
1.6 KiB
HTML

<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 &lt;/OPTION&gt; 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>