Summary: | Web Inspector: Layout records on timeline should show extent of incremental reflow | ||
---|---|---|---|
Product: | WebKit | Reporter: | James Robinson <jamesr> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Enhancement | CC: | hyatt, inspector-bugzilla-changes, knorton, webkit-bug-importer, zundel |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Description
James Robinson
2009-12-01 18:57:27 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? 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. |