Home | History | Annotate | Download | only in script-tests

Lines Matching refs:attr

6 var attr = document.createAttribute("foo");
7 shouldBe("attr.nodeName", "'foo'");
8 shouldBe("attr.name", "'foo'");
11 shouldBe("attr.localName", "null");
12 shouldBe("attr.namespaceURI", "null");
13 shouldBe("attr.prefix", "null");
14 shouldBe("attr.nodeValue", "''");
15 shouldBe("attr.value", "''");
16 shouldBe("attr.attributes", "null");
19 attr = document.createAttributeNS("http://www.example.com", "example:foo");
20 shouldBe("attr.nodeName", "'example:foo'");
21 shouldBe("attr.name", "'example:foo'");
22 shouldBe("attr.localName", "'foo'");
23 shouldBe("attr.namespaceURI", "'http://www.example.com'");
24 shouldBe("attr.prefix", "'example'");
25 shouldBe("attr.nodeValue", "''");
26 shouldBe("attr.value", "''");
27 shouldBe("attr.attributes", "null");
30 attr = xmlDoc.createAttribute("foo");
31 shouldBe("attr.nodeName", "'foo'");
32 shouldBe("attr.name", "'foo'");
35 shouldBe("attr.localName", "null");
36 shouldBe("attr.namespaceURI", "null");
37 shouldBe("attr.prefix", "null");
38 shouldBe("attr.nodeValue", "''");
39 shouldBe("attr.value", "''");
40 shouldBe("attr.attributes", "null");
43 attr = xmlDoc.createAttributeNS("http://www.example.com", "example:foo");
44 shouldBe("attr.nodeName", "'example:foo'");
45 shouldBe("attr.name", "'example:foo'");
46 shouldBe("attr.localName", "'foo'");
47 shouldBe("attr.namespaceURI", "'http://www.example.com'");
48 shouldBe("attr.prefix", "'example'");
49 shouldBe("attr.nodeValue", "''");
50 shouldBe("attr.value", "''");
51 shouldBe("attr.attributes", "null");