Slide 11
Slide 11 text
Causes of Layout Invalidation
(aka reflow)
• Adding, removing, updating DOM nodes
• Adding CSS classes
• Height, width, margins, paddings, border-widths, display
- basically anything that causes crap to get moved
around the page.
• Javascript Offsets also trigger a reflow because they they
have to reconstruct the dom
• Check out http://csstriggers.com