# HG changeset patch # User Nicholas Jillings # Date 1449255118 0 # Node ID a9f1b91b63350c2ad6a599dd050bceeefec19932 # Parent 3b9f0bc523d63a1e50e8d4b3eba059489d64be27 Minor fixes to test_create Specification before merge with core.js Specification diff -r 3b9f0bc523d6 -r a9f1b91b6335 test_create/test_create.html --- a/test_create/test_create.html Fri Dec 04 18:34:04 2015 +0000 +++ b/test_create/test_create.html Fri Dec 04 18:51:58 2015 +0000 @@ -1898,6 +1898,7 @@ node.setAttribute("min", this.min); node.setAttribute("max", this.max); node.setAttribute("step", this.step); + node.textContent = this.statement; break; case "checkbox": node.id = this.id; @@ -2211,7 +2212,19 @@ case "text": CQNode.textContent = this.question; break; - case "radio" || "checkbox": + case "radio": + var statement = root.createElement("statement"); + statement.textContent = this.statement; + CQNode.appendChild(statement); + for (var i=0; i