commit 3981ee79820708476cd3da13eaaca9c890902f95
parent 5e38f3b5949002dd79a2ca574a1c0d113d6c27be
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date: Thu, 8 Jan 2026 18:56:40 +0100
Bug 1819853 - Fix browser_rules_at_starting-style.js
Diffstat:
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/devtools/client/inspector/rules/test/browser_rules_at_starting-style.js b/devtools/client/inspector/rules/test/browser_rules_at_starting-style.js
@@ -453,13 +453,8 @@ add_task(async function () {
'</span>' +
'<span class="ruleview-color">white</span>' +
'</span>',
- computed:
- // prettier-ignore
- '<span xmlns="http://www.w3.org/1999/xhtml" data-color="white" class="color-swatch-container">' +
- '<span class="inspector-swatch inspector-colorswatch" style="background-color:white">' +
- '</span>' +
- '<span class="ruleview-color">white</span>' +
- '</span>',
+ // Computed value isn't displayed when it's the same as we put in the header
+ computed: null,
// The starting-style rule is overridden, so we don't show a starting-style section in the tooltip
startingStyle: null,
}