Bug 32049 - Web Inspector: Layout records on timeline should show extent of incremental reflow
Summary: Web Inspector: Layout records on timeline should show extent of incremental r...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2009-12-01 18:57 PST by James Robinson
Modified: 2016-12-13 15:37 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Robinson 2009-12-01 18:57:27 PST
The 'layout' events in the timeline panel would be much more useful if they showed what parts of the page were examined.  This would help developers understand what parts of their DOM were dirty at the time layout occurred.
Comment 1 James Robinson 2009-12-01 19:04:43 PST
I think the way to start is to collect bounding boxes in RenderBlock::layoutBlock() and pass them up to the TimelineAgent which will union the rectangles into a big dirty rectangle.  One difficulty is that the x()/y() of a RenderBlock is relative to its container where the user really wants to see coordinates relative to the document (and for an <iframe> maybe relative to the top-level document).  I think this means doing a lot of mapLocalToContainer() calls - is that right?
Comment 2 BJ Burg 2014-01-27 15:26:02 PST
Trunk has had repaint rects enabled for a long time, but I don't think layout rects are exposed to the inspector. This would be a little misleading as well if styles need to be re-cascaded, which is non-local.
Comment 3 Radar WebKit Bug Importer 2014-01-27 15:26:27 PST
<rdar://problem/15919699>