commit d3884e1265fb5719ea1e6e86f74b753d492d0085
parent da73d00805a26f2b728f09b2852eef137995c0e8
Author: Hubert Boma Manilla <hmanilla@mozilla.com>
Date: Tue, 4 Nov 2025 14:01:00 +0000
Bug 1998150 - [devtools] Remove the newInactiveCssDataShape trait r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D271215
Diffstat:
2 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/devtools/client/inspector/rules/models/text-property.js b/devtools/client/inspector/rules/models/text-property.js
@@ -315,16 +315,6 @@ class TextProperty {
return undefined;
}
- // @backward-compat { version 144 } When 144 reaches release, we can remove this
- // whole if block.
- if (!this.elementStyle.pageStyle.traits.newInactiveCssDataShape) {
- if (!declaration.isUsed || declaration.isUsed?.used) {
- return undefined;
- }
-
- return declaration.isUsed;
- }
-
return declaration.inactiveCssData;
}
diff --git a/devtools/server/actors/page-style.js b/devtools/server/actors/page-style.js
@@ -152,8 +152,6 @@ class PageStyleActor extends Actor {
// expected support of font-stretch at CSS Fonts Level 4.
fontWeightLevel4:
CSS.supports("font-weight: 1") && CSS.supports("font-stretch: 100%"),
- // @backward-compat { version 144 } This trait can be removed when 144 reaches release
- newInactiveCssDataShape: true,
},
};
}