Does visibility affect DOM manipulation performance?
- by Chetan Sastry
IE7/Windows XP
I have a third party component in my page that does a lot of DOM manipulation to adjust itself each time the browser window is resized.
Unfortunately I have little control of what it does internally and I have optimized everything else (such as callbacks and event handlers) as much as I can. I can't take the component off the flow by setting display:none because it fails measuring itself if I do so.
In general, does setting visibility of the container to invisible during the resize help improve DOM rendering performance?