Bug 1089463 - Clear an element's restyle bits when inserting into a shadow tree. r=bzbarsky