commit b33e370e6f6c7c7e91a53d22e89b266f00284d12
parent 4494dbcf540bfe146e07d21d4d21179c892115d8
Author: Nicolas Chevobbe <nchevobbe@mozilla.com>
Date: Tue, 9 Dec 2025 06:33:14 +0000
Bug 2004307 - [devtools] Avoid jumpy contrast score updates when changing values in spectrum. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D275183
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devtools/client/shared/widgets/spectrum.css b/devtools/client/shared/widgets/spectrum.css
@@ -262,9 +262,10 @@ http://www.briangrinstead.com/blog/keep-aspect-ratio-with-html-and-css */
.spectrum-color-contrast .accessibility-contrast-value {
font-size: 10px;
+ font-variant-numeric: tabular-nums;
border-bottom: 1px solid var(--learn-more-underline);
- /* opt-out of forced colors to avoid the blackplaing that clips the border */
+ /* opt-out of forced colors to avoid the backplating that clips the border */
forced-color-adjust: none;
}