Previously, when the XHTML doctype + header is active, checks would fail because a <div>'s tag name is "div" instead of "DIV". document.activeElement does not exist in Chrome for XHTML documents == -> ===