Created attachment 280758 [details]
While investigating a test failure, I ran into this issue. It seems that if you try to set a style on the body, right after load, and then read it back via getComputedStyle, it won't get set. Interestingly, this only happens the first time. If you immediately set the same style again, it works. Test case attached.