Made animate-text.html not count whitespace at the end of a text node. Hmm, the actual rules for this in structured HTML would be more complicated.