Lines Matching refs:html
3 var xmlDoc = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", null);
5 debug("Attribute creation using createElement on an HTML doc:")
9 // Spec: http://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createAttribute
18 debug("Attribute creation using createElementNS on an HTML doc:")
33 // Spec: http://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createAttribute
80 var doc = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", null);
83 // Spec: http://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument
99 debug("Element creation using createElement on an HTML doc:")
102 // Spec: http://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createElement
111 debug("Prefixed element creation using createElementNS on an HTML doc:")
112 element = document.createElementNS("http://www.w3.org/1999/xhtml", "html:pre");
113 shouldBe("element.nodeName", "'html:pre'");
116 shouldBe("element.prefix", "'html'");
120 debug("SVG Element creation using createElementNS on an HTML doc:")
129 debug("Unknown Element creation using createElementNS on an HTML doc:")
138 debug("Element creation using createElementNS on an HTML doc:")
140 // Spec: http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-104682815 (element.tagName)
160 element = xmlDoc.createElementNS("http://www.w3.org/1999/xhtml", "html:pre");
161 shouldBe("element.nodeName", "'html:pre'");
164 shouldBe("element.prefix", "'html'");