eventually. Even when working with memory-managed languages there are cases where memory can be leaked. Leaks are the cause of whole class of problems: slowdowns, crashes, high latency, and even problems with other applications.” @speyrott
made to an elements skin that changes visibility, but do not affect its layout. According to Opera, repaint is expensive because the browser must verify the visibility of all other nodes in the DOM tree.” Reflows “A reflow is even more critical to performance because it involves changes that affect the layout of a portion of the page (or the whole page). Reflow of an element causes the subsequent reflow of all child and ancestor elements as well as any elements following it in the DOM”
Changing the font • Adding or removing a stylesheet • Content changes, such as a user typing text in an input box • Activation of CSS pseudo classes such as :hover • Manipulating the class attribute • A script manipulating the DOM • Calculating offsetWidth and offsetHeight • Setting a property of the style attribute • ...