+2007-02-24 Alexey Proskuryakov <ap@webkit.org>
+
+ Reviewed by Anders.
+
+ Fix the test not to include any custom content in its auto-generated HTML wrapper.
+
+ * fast/js/resources/select-options-add.js:
+ * fast/js/select-options-add-expected.txt:
+ * fast/js/select-options-add.html:
+
2007-02-23 Mitz Pettel <mitz@webkit.org>
Reviewed by Maciej.
"It covers both the the one-argument (1.x) and two-argument (2.x) signatures of the add() method."
);
+div = document.createElement("div");
+sel = document.createElement("select");
+sel.setAttribute("id", "select1");
+div.appendChild(sel);
+sel = document.createElement("select");
+sel.setAttribute("id", "select2");
+div.appendChild(sel);
+document.body.insertBefore(div, document.getElementById("console").nextSibling);
+
debug("1.1 Add Option to empty Options");
var select1 = document.getElementById("select1");
var option1 = document.createElement("OPTION");
<body>
<p id="description"></p>
<div id="console"></div>
-<div>
-<select id="select1"></select>
-<select id="select2"></select>
-</div>
<script src="resources/select-options-add.js"></script>
<script src="resources/js-test-post.js"></script>
</body>