News for hackers. Stuff that matters.
Re:CSS Triggers by robin_reala on Friday September 15, 2017 @03:36AM (#15255347)
Using 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.

Re:CSS Triggers by shangxiao on Friday September 15, 2017 @03:40AM (#15255366)
I 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.