Actually, wouldn't doing this break expectations that the style was applied?  If you wanted the size to animate to something smaller for example, it'd be surprising that it wasn't applied if the document was hidden.