black7375 / black7375/Firefox-UI-Fix

Text highlight color is wrong

Open
#1,192 1 comment 0 reactions 0 assignees View on GitHub
Issue::Bug
Dominant language
SCSS
Stars
5.9k
Forks
202
PR merge metrics
No merged PRs in 30d

Description

Firefox now seems to force a blue highlight color while highlighting text. Seems to be a bug introduced in https://bugzilla.mozilla.org/show_bug.cgi?id=2048483

All `::selection` rules in both userChrome and userContent dont have any effect. In fact, they stopped working in v154, while it was working fine in v153. Why would they push an update with broken highlighting? Some pages stopped showing the right highlight color as well, if they use `!important` in the rule.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the `::selection` rules in both userChrome and userContent, then reproduce the behavior in Firefox v153 and v154. Check the linked Bugzilla report for the change behind the regression; the work is done when the intended highlight colors apply again in the affected contexts.

Written by the indexing model from the issue text.

Assessment

Tech stack
scss
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.