HTMLElements don't necessarily have their own nodeType property.