diff -r 000000000000 -r 6474c204b198 dom/tests/js/attributes.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/tests/js/attributes.html Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,55 @@ + + + Attributes test + + +

Attributes test

+ +

You should see the following in the console:

+
+attribute.getNamedItem == getAttributeNode: true
+attribute BGCOLOR=#ffffff
+changing attribute node value changes attribute value: true
+return value of removeNamedItem is attribute node: true
+removing attribute changes attribute count: true
+changing disembodied attribute value works: true
+removing attribute node removes attribute: true
+
+ +

The text should turn green and then you should see +the following in the console:

+
+setting an existing attribute returns the old node: true
+
+ + + + + +