Adds checks for additional strange behavior of IE, especially while the document is in an iframe.
Adds checks for additional strange behavior of IE, especially while the document is in an iframe.

RELNOTES: n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=190743375

google/closure-library,lucidsoftware/closure-library,lucidsoftware/closure-library,google/closure-library,google/closure-library,teppeis/closure-library,teppeis/closure-library,google/closure-library,google/closure-library,teppeis/closure-library,teppeis/closure-library,lucidsoftware/closure-library,lucidsoftware/closure-library