amdefine ALL THE THINGS!
According to spec, getAttribute returns null for missing attributes.