In earlier specs the DOMTokenList was case insensitive for quirks mode. This is no longer the case. We can therefore simplify the code a bit.
It was always case sensitive. I got it backwards