3 ms·
An explanation of what this is would be good.
by blue1 9y ago
An explanation of what this is would be good.
- robin_reala 9y agoUsing certain CSS properties will trigger various phases of rendering in browsers. For performance reasons you want to do the minimum amount of work possible. An example: adjusting the width of an object will understandably cause the browser to relayout the page in every browser. But what if you just wanted an animated bounce effect? You could animate the width of the object, but in practice a scale transform would perform much better in most browsers as it typically doesn’t trigger a relayout. So this page just gives you information about which phases are triggered by which properties in which rendering engines.
- shangxiao 9y agoI believe blue1 meant that the page could do with a short explanation at the top… I was wondering the same thing until I realised what it was about.
- oneeyedpigeon 9y agoThe people who need to know this will understand what it is immediately, but I agree that a one-liner at the top couldn't hurt.