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