set background none on fakebody, ya?
Closed this issue · 4 comments
scottjehl commented
Just to bulletproof the body background image crash sitation...
fakeBody.style.background = "none";
paulirish commented
seaburrows commented
Came to raise this issue, found it fixed - awesome!
However I now get a warning "invalid argument" for the added line in IE 7 and 8.
Changing it to
fakeBody.style.cssText = "background:none!important";
fixes.
Think IE is complaining about inclusion of "!important"
alanviner commented
fakeBody.style.background = "none";
also works for IE7/8
paulirish commented
i think it woulda worked in backgroundImage
but not background
shorthand.
IE is stupid, btw.