Bug 1924993 - [devtools] Debugger tests wait before typing in conditional panel r...
[gecko.git] / devtools / server / tests / chrome / inactive-property-helper / first-letter-pseudo-element.mjs
blobebce0d292ac83633bc33dc8deda89bea87507830
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 // InactivePropertyHelper `first-letter-pseudo-element` test cases.
7 // "content",
9 export default [
10   {
11     info: "content is inactive on ::first-letter",
12     property: "content",
13     tagName: "div",
14     rules: ["div::first-letter { content: 'invalid'; }"],
15     isActive: false,
16     expectedMsgId: "inactive-css-first-letter-pseudo-element-not-supported",
17   },
18   {
19     info: "color is active on ::first-letter",
20     property: "color",
21     tagName: "div",
22     rules: ["div::first-letter { color: green; }"],
23     isActive: true,
24   },
25   {
26     info: "display is active on ::first-letter",
27     property: "display",
28     tagName: "div",
29     rules: ["div::first-letter { display: grid; }"],
30     isActive: true,
31   },