Bug 20798 - Web Inspector: support debug paint flashing
Summary: Web Inspector: support debug paint flashing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-09-12 10:53 PDT by Dave Hyatt
Modified: 2015-11-20 13:28 PST (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2008-09-12 10:53:03 PDT
I think it would be cool if Web Inspector supported paint flashing (like Quartz Debug).
Comment 1 Timothy Hatcher 2008-10-13 19:24:52 PDT
Firefox 3.1 will have paint events that fire after a rect paints.

http://ejohn.org/blog/browser-paint-events/

John Resig made a demo of paint flashing with these events. I think we can do better with just direct paint flashing.
Comment 2 Timothy Hatcher 2008-10-14 09:14:16 PDT
I got this working on the Mac last night. Going to try and redo it at the WebCore level now.
Comment 3 Simon Fraser (smfr) 2008-10-14 09:31:40 PDT
I'd like to see the ability to have each RenderObject draw a repaint count in the corner. That makes it really obvious when things are redrawing too much.
Comment 4 Adam Roben (:aroben) 2011-02-24 06:42:30 PST
WebKit2 has a mode that flashes backing store updates. Maybe we could use that. See WebPageProxy::setDebugPaintFlags
Comment 5 Radar WebKit Bug Importer 2014-01-12 15:08:30 PST
<rdar://problem/15801384>