* SUMMARY Sometimes there are incorrectly sized TimelineDataGrid event bubbles in the overview view. This is misleading. See attached screenshots. * STEPS TO REPRODUCE 1. Inspect daringfireball.net 2. Click Timelines 3. Select a time range of about 0-200ms 4. Reload the page (should show some stuff, but there should be JS evaluation after the current selection range) 5. Select a time range of about 300ms-2000ms => script bubble is much larger than expected
<rdar://problem/17836658>
Created attachment 235645 [details] [IMAGE] Issue
Created attachment 235646 [details] [IMAGE] Expected
This is happening because in TimelineDataGridNode.prototype.refreshGraph the visibleWidth is 0. That is scary, because it will almost always happen before elements are added at the graph refreshed. It is just using that to calculate the secondsPerPixel, including doing an offsetWidth per-datagridnode. We can eliminate this possible forced layout, as well as the calculation because the graph data source must already know the secondsPerPixel! Patch coming.
Created attachment 235657 [details] [PATCH] Proposed Fix
Comment on attachment 235657 [details] [PATCH] Proposed Fix Awesome!
Comment on attachment 235657 [details] [PATCH] Proposed Fix Clearing flags on attachment: 235657 Committed r171721: <http://trac.webkit.org/changeset/171721>
All reviewed patches have been landed. Closing bug.