summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/chrome/inactive-property-helper
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
commita90a5cba08fdf6c0ceb95101c275108a152a3aed (patch)
tree532507288f3defd7f4dcf1af49698bcb76034855 /devtools/server/tests/chrome/inactive-property-helper
parentAdding debian version 126.0.1-1. (diff)
downloadfirefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz
firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/server/tests/chrome/inactive-property-helper')
-rw-r--r--devtools/server/tests/chrome/inactive-property-helper/highlight-pseudo-elements.mjs16
1 files changed, 16 insertions, 0 deletions
diff --git a/devtools/server/tests/chrome/inactive-property-helper/highlight-pseudo-elements.mjs b/devtools/server/tests/chrome/inactive-property-helper/highlight-pseudo-elements.mjs
index bcb5b8763c..05fbefeec5 100644
--- a/devtools/server/tests/chrome/inactive-property-helper/highlight-pseudo-elements.mjs
+++ b/devtools/server/tests/chrome/inactive-property-helper/highlight-pseudo-elements.mjs
@@ -152,4 +152,20 @@ export default [
rules: ["span::selection { -webkit-text-stroke: 4px navy; }"],
isActive: true,
},
+ {
+ info: "display is inactive on ::target-text",
+ property: "display",
+ tagName: "span",
+ rules: ["span::target-text { display: grid; }"],
+ isActive: false,
+ expectedMsgId: "inactive-css-highlight-pseudo-elements-not-supported",
+ },
+ {
+ // accept background shorthand, even if it might hold inactive values
+ info: "background is active on ::target-text",
+ property: "background",
+ tagName: "span",
+ rules: ["span::target-text { background: red; }"],
+ isActive: true,
+ },
];