WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
214979
REGRESSION (r?): Web Inspector: Timelines: blue border below selected timeline when in edit mode
https://bugs.webkit.org/show_bug.cgi?id=214979
Summary
REGRESSION (r?): Web Inspector: Timelines: blue border below selected timelin...
Devin Rousso
Reported
2020-07-30 11:26:40 PDT
# STEPS TO REPRODUCE 1. inspect any page 2. go to the Timelines Tab 3. select any timeline 4. enter Edit mode => blue border seen below the selected timeline
Attachments
Patch
(3.32 KB, patch)
2020-07-30 17:37 PDT
,
Nikita Vasilyev
hi
: review+
Details
Formatted Diff
Diff
[Video] With patch applied
(1.18 MB, video/quicktime)
2020-07-30 17:40 PDT
,
Nikita Vasilyev
no flags
Details
Patch
(4.07 KB, patch)
2020-07-30 18:22 PDT
,
Nikita Vasilyev
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-07-30 11:26:57 PDT
<
rdar://problem/66338399
>
Nikita Vasilyev
Comment 2
2020-07-30 11:36:18 PDT
It's coming from this rule: body:not(.window-inactive, .window-docked-inactive) .timeline-overview > .tree-outline.timelines:focus-within .item.selected + .item { border-top-color: hsl(209, 100%, 49%); }
Nikita Vasilyev
Comment 3
2020-07-30 11:39:55 PDT
The CSS rule was added in 2016:
https://trac.webkit.org/changeset/197473/webkit
I don't know why we need it now (haven't looked deeply into the issue though).
Jon Lee
Comment 4
2020-07-30 17:06:54 PDT
Was this an intentional design decision that we should now reconsider? Or is this a regression?
Nikita Vasilyev
Comment 5
2020-07-30 17:10:32 PDT
First of all, this isn't a recent regression. I assume that, 4 years ago, Matt wanted to style the border of selected item with slightly lighter color than the selection color. That predated custom accent colors. I don't think we should do this (change border color) anymore.
Devin Rousso
Comment 6
2020-07-30 17:24:31 PDT
(In reply to Nikita Vasilyev from
comment #5
)
> First of all, this isn't a recent regression. > > I assume that, 4 years ago, Matt wanted to style the border of selected item with slightly lighter color than the selection color. That predated custom accent colors. I don't think we should do this (change border color) anymore.
This is not true. I am not able to reproduce this using Safari 13.1.1 (15609.2.9.1.2). I'm not able to even select timelines when in Edit mode.
Nikita Vasilyev
Comment 7
2020-07-30 17:28:03 PDT
Okay, I'm going to remove this colored border now. It doesn't match the accent color — when the accent color is yellow the border is still blue.
Nikita Vasilyev
Comment 8
2020-07-30 17:37:34 PDT
Created
attachment 405642
[details]
Patch
Nikita Vasilyev
Comment 9
2020-07-30 17:40:44 PDT
Created
attachment 405643
[details]
[Video] With patch applied
Devin Rousso
Comment 10
2020-07-30 17:43:44 PDT
Comment on
attachment 405642
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=405642&action=review
r=me, nice!
> Source/WebInspectorUI/UserInterface/Views/TimelineOverview.css:115 > .timeline-overview > .tree-outline.timelines .item:not(.selected):not(:first-child) {
It's odd to me that the `border-top` doesn't also apply when `.selected`, as right now there's basically no border between the selected item and the item above it, while there is a border between the selected item and the item below it. I think we should also have the `border-top` set when `.selected`.
Nikita Vasilyev
Comment 11
2020-07-30 18:22:09 PDT
Created
attachment 405649
[details]
Patch
EWS
Comment 12
2020-07-30 18:44:59 PDT
Committed
r265125
: <
https://trac.webkit.org/changeset/265125
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 405649
[details]
.
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