WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
135870
Web Inspector: Timeline Close buttons can use polish for new and legacy styles
https://bugs.webkit.org/show_bug.cgi?id=135870
Summary
Web Inspector: Timeline Close buttons can use polish for new and legacy styles
Joseph Pecoraro
Reported
2014-08-12 17:56:51 PDT
* SUMMARY Timeline Close buttons can use polish for new and legacy styles. - new styles the X looks too thin on timeline overviews - legacy styles the X for timeline records has a white border but black filled content * STEPS TO REPRODUCE 1. Click around the timelines view with records
Attachments
[PATCH] Proposed Fix
(9.55 KB, patch)
2014-08-12 18:00 PDT
,
Joseph Pecoraro
timothy
: review+
joepeck
: commit-queue-
Details
Formatted Diff
Diff
[PATCH] For Landing
(3.71 KB, patch)
2014-08-13 11:41 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-08-12 17:56:59 PDT
<
rdar://problem/17999596
>
Joseph Pecoraro
Comment 2
2014-08-12 18:00:12 PDT
Created
attachment 236489
[details]
[PATCH] Proposed Fix
Timothy Hatcher
Comment 3
2014-08-12 22:49:09 PDT
Comment on
attachment 236489
[details]
[PATCH] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=236489&action=review
Screenshot looks good.
> Source/WebInspectorUI/ChangeLog:20 > + Use the Close.svg in new styles, and CloseLarge.svg in legacy, styled to 12x12.
I am not sure why CloseLarge.svg is used in Legacy and Close.svg is used in modern. Ideally they would be the same size and only differ by stroke-width 2 vs 1.
> Source/WebInspectorUI/UserInterface/Images/Legacy/Close.svg:4 > + <path class="stroked filled" d="M 12.949219 10.535156 L 11.535156 11.949219 L 8 8.414062 L 4.464844 11.949219 L 3.050781 10.535156 L 6.585938 7 L 3.050781 3.464844 L 4.464844 2.050781 L 8 5.585938 L 11.535156 2.050781 L 12.949219 3.464844 L 9.414062 7 Z"/>
You can remove "stroked", "filled" is all that matters since there is no stroke-width.
> Source/WebInspectorUI/UserInterface/Images/Legacy/CloseLarge.svg:4 > + <path class="stroked filled" fill="none" stroke="black" stroke-width="2" stroke-linecap="square" d="M 1.5 2.5 L 12.5 13.5 M 1.5 13.5 L 12.5 2.5"/>
This should only be "stroked". Filled would not apply here since fill is "none" and the path is not a closed path.
> Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.css:250 > + /* Close button on timeline records */
I don't think this is needed.
Joseph Pecoraro
Comment 4
2014-08-13 11:18:25 PDT
(In reply to
comment #3
)
> (From update of
attachment 236489
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=236489&action=review
> > Screenshot looks good. > > > Source/WebInspectorUI/ChangeLog:20 > > + Use the Close.svg in new styles, and CloseLarge.svg in legacy, styled to 12x12. > > I am not sure why CloseLarge.svg is used in Legacy and Close.svg is used in modern. Ideally they would be the same size and only differ by stroke-width 2 vs 1.
Yep, we figured out what was wrong (I added stroked which added thickness) and this let us revert all the .js changes.
> > > Source/WebInspectorUI/UserInterface/Images/Legacy/Close.svg:4 > > + <path class="stroked filled" d="M 12.949219 10.535156 L 11.535156 11.949219 L 8 8.414062 L 4.464844 11.949219 L 3.050781 10.535156 L 6.585938 7 L 3.050781 3.464844 L 4.464844 2.050781 L 8 5.585938 L 11.535156 2.050781 L 12.949219 3.464844 L 9.414062 7 Z"/> > > You can remove "stroked", "filled" is all that matters since there is no stroke-width.
Ahh yes, and this was causing problems.
Joseph Pecoraro
Comment 5
2014-08-13 11:41:21 PDT
Created
attachment 236539
[details]
[PATCH] For Landing
WebKit Commit Bot
Comment 6
2014-08-13 12:01:09 PDT
Comment on
attachment 236539
[details]
[PATCH] For Landing Clearing flags on attachment: 236539 Committed
r172527
: <
http://trac.webkit.org/changeset/172527
>
WebKit Commit Bot
Comment 7
2014-08-13 12:01:13 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