Closed Bug 1777249 Opened 2 years ago Closed 2 years ago

Elements shouldn't use --theme-selection-background-hover for non-focused/hovered/active element

Categories

(DevTools :: Shared Components, task)

task

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

A proper variable should be created for when the tool need a backround-color that stands out

In a few places we were using the variable to have a different background than
the ones we have everywhere (blueish on light theme, dark-grey blue in dark mode).
In order to avoid any confusion, this patch adds a dedicated variable with a name
that should be more explicit.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6040e53370dc
[devtools] Create CSS variable for alternate element background instead of abusing --theme-selection-background-hover. r=bomsy.

Backed out for causing mochitest on failures browser_console_evaluation_context_selector.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_console_evaluation_context_selector.js | context selector is only displayed when Fission or EFT is enabled - Got [object HTMLButtonElement], expected null
Flags: needinfo?(nchevobbe)
Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fb3ef8a93a1a
[devtools] Create CSS variable for alternate element background instead of abusing --theme-selection-background-hover. r=bomsy.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: