Fix IE8 reporting height style as all uppercase
Fix IE8 reporting type object for `getBoundingClientRect`
`document.head` is undefined in IE8
Merge pull request #14090 from hnrch02/unit-tests-ie8

Fix IE8 problems with unit tests