Closed
Bug 1933651
Opened 1 year ago
Closed 1 year ago
Unmatched rules have lower opacity which causes contrast issues (in both regular and High Contrast Mode)
Categories
(DevTools :: Inspector: Rules, defect, P2)
DevTools
Inspector: Rules
Tracking
(firefox135 fixed)
RESOLVED
FIXED
135 Branch
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
.ruleview-rule.unmatched,
.ruleview-rule[unmatched=true] {
opacity: 0.5;
}
We could probably use GrayText for everything and/or add a grayscale filter?
| Assignee | ||
Comment 1•1 year ago
|
||
Use GrayText color instead.
Updated•1 year ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Updated•1 year ago
|
Severity: -- → S3
Priority: -- → P2
Comment 2•1 year ago
|
||
Could be interesting to cross out the selector to convey that it's not matching
| Assignee | ||
Comment 3•1 year ago
|
||
Actually, this isn't only an issue for High Contrast Mode.
In light theme, the selector has a 2.7:1 ratio (fails minimal contrast)
I'll expand my patch so it's a better solution for every situation
| Assignee | ||
Updated•1 year ago
|
Summary: Unmatched rules have lower opacity, which doesn't work well in High Contrast Mode → Unmatched rules have lower opacity which causes contrast issues (in both regular and High Contrast Mode)
Updated•1 year ago
|
Attachment #9440171 -
Attachment description: Bug 1933651 - [devtools] Dont tweak opacity of unmatched rules in High Contrast Mode. r=#devtools. → Bug 1933651 - [devtools] Dont tweak opacity of unmatched rules. r=#devtools.
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9a80c79cdfdd
[devtools] Dont tweak opacity of unmatched rules. r=devtools-reviewers,jdescottes.
Comment 5•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox135:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•