mrdoob/three.js — pull request #4941 by scazan (2014-06-18 22:37:10+00:00)
Title: Only trigger invalidate styles or layout if needed

Check if the CSS styles have changed before touching the DOM element. Without this we get a consistent flood of style invalidations and re-layouts.