| Summary: | Web Inspector: Pad ruler selection area by 1px in the Rendering Frames timeline overview | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Baker <mattbaker> | ||||||||||
| Component: | Web Inspector | Assignee: | Matt Baker <mattbaker> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Matt Baker
2015-06-23 14:29:14 PDT
Created attachment 255433 [details]
[Patch] Proposed Fix
Created attachment 255434 [details]
[Image] New UI - zoomed in
Created attachment 255435 [details]
[Image] New UI - zoomed out
Comment on attachment 255433 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=255433&action=review The zoomed in image shows the shading being off by 0.5px, what could cause that? Zoomed out looks fine. > Source/WebInspectorUI/UserInterface/Views/TimelineOverview.css:58 > +.timeline-overview.frames > .timeline-ruler > .shaded-area.right { > + -webkit-transform: translateX(1px); > +} Need to shift the right handle too. Created attachment 256272 [details]
[Patch] Proposed Fix
Comment on attachment 256272 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=256272&action=review > Source/WebInspectorUI/UserInterface/Views/TimelineOverview.css:57 > + -webkit-transform: translateX(0px); Why is this needed? > Source/WebInspectorUI/UserInterface/Views/TimelineOverview.css:61 > + -webkit-transform: translateX(5px); 5px seems like a lot, why not just 1px here too? Comment on attachment 256272 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=256272&action=review >> Source/WebInspectorUI/UserInterface/Views/TimelineOverview.css:57 >> + -webkit-transform: translateX(0px); > > Why is this needed? It undoes -webkit-transform: translateX(-1px) declared in the rule set for .timeline-ruler > .header > .divider in TimelineRuler.css. >> Source/WebInspectorUI/UserInterface/Views/TimelineOverview.css:61 >> + -webkit-transform: translateX(5px); > > 5px seems like a lot, why not just 1px here too? Using 1px would effectively be -webkit-transform: translateX(-3px), as .timeline-ruler > .selection-handle.right is translated by 4px by default (TimelineRuler.css). Comment on attachment 256272 [details] [Patch] Proposed Fix Clearing flags on attachment: 256272 Committed r186471: <http://trac.webkit.org/changeset/186471> All reviewed patches have been landed. Closing bug. |