Closed Bug 1933466 Opened 3 months ago Closed 3 months ago

Remove the empty box-shadow around focused tab

Categories

(DevTools :: Inspector, enhancement, P3)

enhancement

Tracking

(firefox135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(1 file)

STRs:

  • open DevTools
  • open Inspector
  • select the "Computed" sidebar tab
  • make sure the tab is focused (ie the focus ring is displayed)

Issue: there is a small blank/white padding surrounding the tab.

The box shadow forced at https://searchfox.org/mozilla-central/rev/dfaf02d68a7cb018b6cad7e189f450352e2cde04/devtools/client/themes/common.css#304-307

:focus-visible {
  outline: var(--theme-focus-outline);
  outline-offset: var(--theme-outline-offset);
  box-shadow: var(--theme-outline-box-shadow);

partially hides the tabs which are sitting next to the selected tab of a devtools tabbar. We should override it for the Tabbar specifically because we know that in this case the focus ring should always be visible.

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79d6a5490161 [devtools] Remove the empty box-shadow around focused tab r=nchevobbe,devtools-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: