Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | // Test states to be tested for css state machine in css-autocompelter.js file. |
michael@0 | 2 | // Test cases are of the following format: |
michael@0 | 3 | // [ |
michael@0 | 4 | // [ |
michael@0 | 5 | // line, // The line location of the cursor |
michael@0 | 6 | // ch // The column locaiton of the cursor |
michael@0 | 7 | // ], |
michael@0 | 8 | // suggestions // Array of expected results |
michael@0 | 9 | // ] |
michael@0 | 10 | [ |
michael@0 | 11 | [[0, 10], []], |
michael@0 | 12 | [[4, 7], ['.devtools-menulist', '.devtools-toolbarbutton']], |
michael@0 | 13 | [[5, 8], ['-moz-animation', '-moz-animation-delay', '-moz-animation-direction', |
michael@0 | 14 | '-moz-animation-duration', '-moz-animation-fill-mode', |
michael@0 | 15 | '-moz-animation-iteration-count', '-moz-animation-name', |
michael@0 | 16 | '-moz-animation-play-state', '-moz-animation-timing-function', |
michael@0 | 17 | '-moz-appearance']], |
michael@0 | 18 | [[12, 20], ['none', 'number-input']], |
michael@0 | 19 | [[12, 22], ['none']], |
michael@0 | 20 | [[17, 22], ['hsl', 'hsla']], |
michael@0 | 21 | [[21, 9], ["-moz-calc", "auto", "calc", "inherit", "initial","unset"]], |
michael@0 | 22 | [[22, 5], ['color', 'color-interpolation', 'color-interpolation-filters']], |
michael@0 | 23 | [[25, 26], ['.devtools-toolbarbutton > tab', |
michael@0 | 24 | '.devtools-toolbarbutton > .toolbarbutton-menubutton-button', |
michael@0 | 25 | '.devtools-toolbarbutton > hbox']], |
michael@0 | 26 | [[25, 31], ['.devtools-toolbarbutton > hbox.toolbarbutton-menubutton-button']], |
michael@0 | 27 | [[29, 20], ['.devtools-menulist:after', '.devtools-menulist:active']], |
michael@0 | 28 | [[30, 10], ['#devtools-anotherone', '#devtools-itjustgoeson', '#devtools-menu', |
michael@0 | 29 | '#devtools-okstopitnow', '#devtools-toolbarbutton', '#devtools-yetagain']], |
michael@0 | 30 | [[39, 39], ['.devtools-toolbarbutton:not([label]) > tab']], |
michael@0 | 31 | [[43, 51], ['.devtools-toolbarbutton:not([checked=true]):hover:after', |
michael@0 | 32 | '.devtools-toolbarbutton:not([checked=true]):hover:active']], |
michael@0 | 33 | [[58, 36], ['!important;']], |
michael@0 | 34 | [[73, 42], [':last-child', ':lang(', ':last-of-type', ':link']], |
michael@0 | 35 | [[77, 25], ['.visible']], |
michael@0 | 36 | ] |