michael@0: // Test states to be tested for css state machine in css-autocompelter.js file. michael@0: // Test cases are of the following format: michael@0: // [ michael@0: // [ michael@0: // line, // The line location of the cursor michael@0: // ch // The column locaiton of the cursor michael@0: // ], michael@0: // suggestions // Array of expected results michael@0: // ] michael@0: [ michael@0: [[0, 10], []], michael@0: [[4, 7], ['.devtools-menulist', '.devtools-toolbarbutton']], michael@0: [[5, 8], ['-moz-animation', '-moz-animation-delay', '-moz-animation-direction', michael@0: '-moz-animation-duration', '-moz-animation-fill-mode', michael@0: '-moz-animation-iteration-count', '-moz-animation-name', michael@0: '-moz-animation-play-state', '-moz-animation-timing-function', michael@0: '-moz-appearance']], michael@0: [[12, 20], ['none', 'number-input']], michael@0: [[12, 22], ['none']], michael@0: [[17, 22], ['hsl', 'hsla']], michael@0: [[21, 9], ["-moz-calc", "auto", "calc", "inherit", "initial","unset"]], michael@0: [[22, 5], ['color', 'color-interpolation', 'color-interpolation-filters']], michael@0: [[25, 26], ['.devtools-toolbarbutton > tab', michael@0: '.devtools-toolbarbutton > .toolbarbutton-menubutton-button', michael@0: '.devtools-toolbarbutton > hbox']], michael@0: [[25, 31], ['.devtools-toolbarbutton > hbox.toolbarbutton-menubutton-button']], michael@0: [[29, 20], ['.devtools-menulist:after', '.devtools-menulist:active']], michael@0: [[30, 10], ['#devtools-anotherone', '#devtools-itjustgoeson', '#devtools-menu', michael@0: '#devtools-okstopitnow', '#devtools-toolbarbutton', '#devtools-yetagain']], michael@0: [[39, 39], ['.devtools-toolbarbutton:not([label]) > tab']], michael@0: [[43, 51], ['.devtools-toolbarbutton:not([checked=true]):hover:after', michael@0: '.devtools-toolbarbutton:not([checked=true]):hover:active']], michael@0: [[58, 36], ['!important;']], michael@0: [[73, 42], [':last-child', ':lang(', ':last-of-type', ':link']], michael@0: [[77, 25], ['.visible']], michael@0: ]