<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: mozafterpaint</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/mozafterpaint.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2008-10-14T13:08:51+00:00</updated><author><name>Simon Willison</name></author><entry><title>Browser Paint Events</title><link href="https://simonwillison.net/2008/Oct/14/john/#atom-tag" rel="alternate"/><published>2008-10-14T13:08:51+00:00</published><updated>2008-10-14T13:08:51+00:00</updated><id>https://simonwillison.net/2008/Oct/14/john/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://ejohn.org/blog/browser-paint-events/"&gt;Browser Paint Events&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
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.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/firefox"&gt;firefox&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/john-resig"&gt;john-resig&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mozafterpaint"&gt;mozafterpaint&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mozilla"&gt;mozilla&lt;/a&gt;&lt;/p&gt;



</summary><category term="firefox"/><category term="javascript"/><category term="john-resig"/><category term="mozafterpaint"/><category term="mozilla"/></entry></feed>