michael@0: michael@0: michael@0: Attributes test michael@0: michael@0: michael@0:

Attributes test

michael@0: michael@0:

You should see the following in the console:

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

The text should turn green and then you should see michael@0: the following in the console:

michael@0:
michael@0: setting an existing attribute returns the old node: true
michael@0: 
michael@0: michael@0: michael@0: michael@0: michael@0: michael@0: