RetroZilla/layout/html/tests/formctls/base/optgroup_test1.html

62 lines
1.6 KiB
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<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>