WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
146248
Web Inspector: Pad ruler selection area by 1px in the Rendering Frames timeline overview
https://bugs.webkit.org/show_bug.cgi?id=146248
Summary
Web Inspector: Pad ruler selection area by 1px in the Rendering Frames timeli...
Matt Baker
Reported
2015-06-23 14:29:14 PDT
* SUMMARY Pad ruler selection area by 1px in the Rendering Frames timeline overview. Frame elements have 1px of left padding, but no right padding (since it would result in 2px gaps between frames). As a result, there is a nice 1px space between the left edge of the ruler selection and the first selected frame, but the right edge is flush against the last frame.
Attachments
[Patch] Proposed Fix
(2.53 KB, patch)
2015-06-23 14:36 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
[Image] New UI - zoomed in
(215.94 KB, image/png)
2015-06-23 14:37 PDT
,
Matt Baker
no flags
Details
[Image] New UI - zoomed out
(215.95 KB, image/png)
2015-06-23 14:37 PDT
,
Matt Baker
no flags
Details
[Patch] Proposed Fix
(7.67 KB, patch)
2015-07-06 20:20 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-06-23 14:29:49 PDT
<
rdar://problem/21511319
>
Matt Baker
Comment 2
2015-06-23 14:36:41 PDT
Created
attachment 255433
[details]
[Patch] Proposed Fix
Matt Baker
Comment 3
2015-06-23 14:37:22 PDT
Created
attachment 255434
[details]
[Image] New UI - zoomed in
Matt Baker
Comment 4
2015-06-23 14:37:43 PDT
Created
attachment 255435
[details]
[Image] New UI - zoomed out
Timothy Hatcher
Comment 5
2015-06-23 14:45:47 PDT
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.
Matt Baker
Comment 6
2015-07-06 20:20:18 PDT
Created
attachment 256272
[details]
[Patch] Proposed Fix
Timothy Hatcher
Comment 7
2015-07-06 21:10:09 PDT
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?
Matt Baker
Comment 8
2015-07-07 12:07:22 PDT
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).
WebKit Commit Bot
Comment 9
2015-07-07 12:59:07 PDT
Comment on
attachment 256272
[details]
[Patch] Proposed Fix Clearing flags on attachment: 256272 Committed
r186471
: <
http://trac.webkit.org/changeset/186471
>
WebKit Commit Bot
Comment 10
2015-07-07 12:59:11 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug