Closed
Bug 1926852
Opened 10 months ago
Closed 10 months ago
Rules view property name/value hover dashed underline is always visible in high Contrast Mode
Categories
(DevTools :: Inspector: Rules, defect)
DevTools
Inspector: Rules
Tracking
(firefox134 fixed)
RESOLVED
FIXED
134 Branch
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The dashed line should only be shown on hover, but it's created with a bottom border, which is transparent by default, and gets turned grey on hover.
in High Contrast Mode , transparent
is transformed into a solid color, and so the line is always visible, even when properties are not hovered
Assignee | ||
Comment 1•10 months ago
|
||
Using text-decoration allows us to only do it on hover, as it doesn't
triggers a layout shift (contrary to bottom border). This way, it also
prevent always showing the border in High Contrast Mode, where transparent
color is ignored.
Updated•10 months ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bc5dac32dbd7
[devtools] Use text-decoration to indicate editable items in Rules view declaration. r=devtools-reviewers,bomsy.
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
status-firefox134:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•