Closed Bug 1918358 Opened 1 year ago Closed 1 year ago

DevTools highlighters are impacted by forced-colors: active in the page

Categories

(DevTools :: General, defect, P2)

defect

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

When the page matches @media (forced-colors: active), the DevTools highlighters are also impacted (see screenshot, the pause overlay doesn't have a background and the icons are barely visible)

A first step would be to add forced-color-adjust: none to our highlighters CSS so they're not impacted.
Once DevTools support for HCM lands (Bug 1590215), we might want to have the highlighters adapt to HCM: they should look the same as the theme you chose for you toolbox. This would require additional work to propagate the selected theme to the server.

Severity: -- → S3
Priority: -- → P2
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c5916513a47b [devtools] Prevent highlighters to be impacted by forced colors mode. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: