Simon Willison’s Weblog

Subscribe

1 item tagged “mozafterpaint”

2008

Browser Paint Events. The latest Firefox nightlies include a new MozAfterPaint event which fires after a portion of the page has been redrawn and provides co-ordinates of the affected rectangle. John Resig provides a neat bookmarklet that uses the new event to visualise repainting operations.

# 14th October 2008, 1:08 pm / firefox, javascript, john-resig, mozafterpaint, mozilla