1 Check the basic attribute support of CSSOM CSSNamespaceRule
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS CSSRule.NAMESPACE_RULE is 10
7 PASS namespacerule.type is 10
8 PASS namespacerule.namespaceURI is "http://www.w3.org/1999/xhtml"
9 PASS namespacerule.prefix is "my-namespace"
10 PASS defaultNamespacerule.cssText is "@namespace url(\"default\");"
11 PASS namespacerule.cssText is "@namespace my-namespace url(\"http://www.w3.org/1999/xhtml\");"
12 PASS getComputedStyle(document.body).color is "rgb(255, 0, 0)"
13 Deleting namespace rule when other rules are present should throw InvalidStateException.
14 WARN: shouldBe() expects string arguments
16 Inserting new namespace rule when other rules are present should throw InvalidStateException.
17 WARN: shouldBe() expects string arguments
19 PASS successfullyParsed is true