Changing HTML 5 polyfill for tests and changing a couple of tests to acc...

...ount for differing behaviour of getComputedStyle accross different browsers