WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
196266
Web Inspector: Elements tab: Classes toggle should use accent color on hover
https://bugs.webkit.org/show_bug.cgi?id=196266
Summary
Web Inspector: Elements tab: Classes toggle should use accent color on hover
Matt Baker
Reported
2019-03-26 12:35:04 PDT
Created
attachment 365985
[details]
[Image] Classes button hover color .
Attachments
[Image] Classes button hover color
(68.10 KB, image/png)
2019-03-26 12:35 PDT
,
Matt Baker
no flags
Details
Patch
(3.81 KB, patch)
2019-03-26 12:37 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
[Image] With patch applied
(565.45 KB, image/png)
2019-03-26 12:39 PDT
,
Matt Baker
no flags
Details
[Image] With patch applied (selected)
(673.66 KB, image/png)
2019-03-26 17:02 PDT
,
Matt Baker
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-03-26 12:36:21 PDT
<
rdar://problem/49286006
>
Matt Baker
Comment 2
2019-03-26 12:37:41 PDT
Created
attachment 365986
[details]
Patch
Matt Baker
Comment 3
2019-03-26 12:39:59 PDT
Created
attachment 365988
[details]
[Image] With patch applied
Radar WebKit Bug Importer
Comment 4
2019-03-26 12:40:34 PDT
<
rdar://problem/49286158
>
Devin Rousso
Comment 5
2019-03-26 13:37:11 PDT
(In reply to Matt Baker from
comment #3
)
> Created
attachment 365988
[details]
> [Image] With patch applied
The color of the "Classes" button and the DOM element highlight seem _very_ different. Why is that? Shouldn't we make them the same? At the very least, it should match the "Styles" button.
Matt Baker
Comment 6
2019-03-26 13:48:57 PDT
(In reply to Devin Rousso from
comment #5
)
> (In reply to Matt Baker from
comment #3
) > > Created
attachment 365988
[details]
> > [Image] With patch applied > The color of the "Classes" button and the DOM element highlight seem _very_ > different. Why is that? Shouldn't we make them the same? At the very > least, it should match the "Styles" button.
The screenshot shows the hover color, not the selected/active color.
Matt Baker
Comment 7
2019-03-26 17:02:03 PDT
Created
attachment 366025
[details]
[Image] With patch applied (selected) Radio, scope, and the toggle buttons have identical selection/hover colors, based on the system accent color. Table and TreeOutline use a different (but related) system color for the selected item background.
Devin Rousso
Comment 8
2019-03-29 13:35:58 PDT
Comment on
attachment 365986
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=365986&action=review
rs=me
> Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.css:116 > + content: "";
NIT: I normally put `content` after `width`/`height` (e.g. sizing), but before `border` (e.g. outside of the content).
> Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.css:118 > + left: 0; > + top: 0;
NIT: the order of these should be reversed. I match the order of the shorthand=>longhand values (top right bottom left).
> Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.css:123 > + z-index: -1;
NIT: I normally put `z-index` alongside other "positional" properties (e.g. `top`, `left`).
WebKit Commit Bot
Comment 9
2019-04-08 18:32:00 PDT
Comment on
attachment 365986
[details]
Patch Clearing flags on attachment: 365986 Committed
r244063
: <
https://trac.webkit.org/changeset/244063
>
WebKit Commit Bot
Comment 10
2019-04-08 18:32:01 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