summaryrefslogtreecommitdiffstats
path: root/devtools/client/shared/sourceeditor/test/css_autocompletion_tests.json
blob: a8f09e074136a98b745636c7a981f33cfd532157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
  "description": [
    "Test states to be tested for css state machine in css-autocompleter.js file.",
    "Test cases are of the following format:",
    "[",
    "  [",
    "    line, # The line location of the cursor",
    "    ch    # The column location of the cursor",
    "  ],",
    "  suggestions # Array of expected results",
    "]"
  ],
  "tests": [
    [[0, 10], []],
    [
      [4, 7],
      [".devtools-menulist", ".devtools-toolbarbutton"]
    ],
    [
      [5, 8],
      [
        "-moz-animation",
        "-moz-animation-delay",
        "-moz-animation-direction",
        "-moz-animation-duration",
        "-moz-animation-fill-mode",
        "-moz-animation-iteration-count",
        "-moz-animation-name",
        "-moz-animation-play-state",
        "-moz-animation-timing-function",
        "-moz-appearance"
      ]
    ],
    [
      [12, 20],
      ["none", "number-input"]
    ],
    [[12, 22], ["none"]],
    [
      [17, 22],
      ["hsl", "hsla"]
    ],
    [
      [19, 10],
      [
        "background",
        "background-attachment",
        "background-blend-mode",
        "background-clip",
        "background-color",
        "background-image",
        "background-origin",
        "background-position",
        "background-position-x",
        "background-position-y",
        "background-repeat",
        "background-size"
      ]
    ],
    [
      [21, 9],
      ["auto", "inherit", "initial", "revert", "revert-layer", "unset"]
    ],
    [
      [25, 26],
      [
        ".devtools-toolbarbutton > tab",
        ".devtools-toolbarbutton > hbox",
        ".devtools-toolbarbutton > .toolbarbutton-menubutton-button"
      ]
    ],
    [
      [25, 31],
      [".devtools-toolbarbutton > hbox.toolbarbutton-menubutton-button"]
    ],
    [
      [29, 20],
      [".devtools-menulist:after", ".devtools-menulist:active"]
    ],
    [
      [30, 10],
      [
        "#devtools-anotherone",
        "#devtools-itjustgoeson",
        "#devtools-menu",
        "#devtools-okstopitnow",
        "#devtools-toolbarbutton",
        "#devtools-yetagain"
      ]
    ],
    [[39, 39], [".devtools-toolbarbutton:not([label]) > tab"]],
    [
      [43, 51],
      [
        ".devtools-toolbarbutton:not([checked=true]):hover:after",
        ".devtools-toolbarbutton:not([checked=true]):hover:active"
      ]
    ],
    [[58, 36], ["!important;"]],
    [
      [73, 42],
      [":lang(", ":last-of-type", ":link", ":last-child"]
    ],
    [[77, 25], [".visible"]]
  ]
}