- When you add or remove a DOM node.
- When you apply a style dynamically (such as element.style.width="10px").
- When you retrieve a measurement that must be calculated, such as accessing offsetWidth, clientHeight, or any computed CSS value (via getComputedStyle() in DOM-compliant browsers or currentStyle in IE).
- Jul 02 Mon 2012 15:48
-
DOM reflow 時機
請先 登入 以發表留言。