summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/dom-level2-html/files/optgroup.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/dom-level2-html/files/optgroup.xhtml')
-rw-r--r--dom/tests/mochitest/dom-level2-html/files/optgroup.xhtml27
1 files changed, 27 insertions, 0 deletions
diff --git a/dom/tests/mochitest/dom-level2-html/files/optgroup.xhtml b/dom/tests/mochitest/dom-level2-html/files/optgroup.xhtml
new file mode 100644
index 000000000..b421ecabb
--- /dev/null
+++ b/dom/tests/mochitest/dom-level2-html/files/optgroup.xhtml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "xhtml1-strict.dtd">
+<html xmlns='http://www.w3.org/1999/xhtml'>
+<head>
+<title>NIST DOM HTML Test - OPTGROUP</title>
+</head>
+<body onload="parent.loadComplete()">
+<form id="Form1" action="test.pl" method="post">
+<p>
+<select name="select2">
+<optgroup label="Regular Employees">
+<option>EMP0001</option>
+<option>EMP0002</option>
+<option>EMP0003A</option>
+</optgroup>
+<optgroup disabled="disabled" label="Temporary Employees">
+<option>EMP0004</option>
+<option>EMP0005</option>
+</optgroup>
+</select>
+</p>
+</form>
+</body>
+</html>
+