Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 95b6f5c

Browse files
Web Inspector: Elements: Classes toggle button has wrong outline on focus
https://bugs.webkit.org/show_bug.cgi?id=211104 <rdar://problem/62475340> Reviewed by Devin Rousso. * UserInterface/Views/GeneralStyleDetailsSidebarPanel.css: (.sidebar > .panel.details.css-style > .content ~ .options-container > .toggle-class-toggle:focus): * UserInterface/Views/Variables.css: (:root): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@260839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent b7f7a2b commit 95b6f5c

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

Source/WebInspectorUI/ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2020-04-28 Nikita Vasilyev <[email protected]>
2+
3+
Web Inspector: Elements: Classes toggle button has wrong outline on focus
4+
https://bugs.webkit.org/show_bug.cgi?id=211104
5+
<rdar://problem/62475340>
6+
7+
Reviewed by Devin Rousso.
8+
9+
* UserInterface/Views/GeneralStyleDetailsSidebarPanel.css:
10+
(.sidebar > .panel.details.css-style > .content ~ .options-container > .toggle-class-toggle:focus):
11+
* UserInterface/Views/Variables.css:
12+
(:root):
13+
114
2020-04-27 Nikita Vasilyev <[email protected]>
215

316
REGRESSION (r258730): Web Inspector: Sidebar tabs have incorrect tabIndex

Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@
106106
-webkit-appearance: none;
107107
}
108108

109+
.sidebar > .panel.details.css-style > .content ~ .options-container > .toggle-class-toggle:focus {
110+
outline-offset: var(--focus-ring-outline-offset);
111+
}
112+
109113
.sidebar > .panel.details.css-style > .content ~ .options-container > .toggle-class-toggle::before {
110114
position: absolute;
111115
content: "";

Source/WebInspectorUI/UserInterface/Views/Variables.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@
183183
--odd-zebra-stripe-row-background-color: white;
184184
--transparent-stripe-background-gradient: linear-gradient(to bottom, transparent, transparent 50%, hsla(0, 0%, 0%, 0.03) 50%, hsla(0, 0%, 0%, 0.03)) top left / 100% 40px;
185185

186+
--focus-ring-outline-offset: -2px;
187+
186188
--undocked-title-area-height: 0px;
187189
--tab-bar-height: var(--navigation-bar-height);
188190
--navigation-bar-height: 29px;

0 commit comments

Comments
 (0)