While parsing the document Trident (IE11) sets document.activeElement = null, after DOMContentLoaded it is set to <html>, after document.activeElement.blur() it is set to <body>. IE12, Gecko, Blink and WebKit have it set to <body> during all stages.

link