HTMLElement::nodeName should not upper case non-ASCII characters