Fix cross-browser inconsistency in text-case of NodeElement::getTagName() return.