Bug 16085

Summary: Web Inspector's Network Timeline graph code clean up and misc. fixes
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web Inspector (Deprecated)Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Minor    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch aroben: review+

Timothy Hatcher
Reported 2007-11-21 12:12:19 PST
The Network Timeline graph code has a couple of problems. - It defines a few global functions that should be nested or hanging off another object/prototype. - It recomputes the segment percentages twice, once for the main pill and another time for the reflection. - Sometimes the percentages will round down so the total is below 100%. (We already account for a total greater than 100%.) - The pill shadow is drawn with a stoke on a pixel boundary, to achieve a blurry line. We should use the canvas shadow drawing properties.
Attachments
Patch (15.31 KB, patch)
2007-11-21 12:18 PST, Timothy Hatcher
aroben: review+
Timothy Hatcher
Comment 1 2007-11-21 12:18:50 PST
Timothy Hatcher
Comment 2 2007-11-21 12:20:02 PST
This patch also removes un-needed save/restore calls.
Adam Roben (:aroben)
Comment 3 2007-11-21 15:04:55 PST
Comment on attachment 17434 [details] Patch r=me
Timothy Hatcher
Comment 4 2007-11-21 15:40:45 PST
Note You need to log in before you can comment on or make changes to this bug.