Tuesday, October 14th, 2008
John Resig put together a nice usage of MozAfterPaint, the new Firefox event that will call back letting you know when a repaint operation has happened:
In a nutshell, boundingClientRect gives you a single rectangle encompassing the entire area in which a paint operation could’ve taken place whereas clientRects gives you a number of rectangles, each encompassing an individual area that was drawn.
John creating a simple tracking script that uses the new event to show where you have been.
kourge reminded us of the related Flash event showRedrawRegions.
Robert O’Callahan mentioned a use for the event when he discussed SVG bling that made it into the first 3.1 beta.
David Hyatt put in a WebKit patch to add support for CSS transitions on some SVG properties.
Posted by Dion Almaer at 5:02 am