Bug 1209273 - Part 3: Make CSS autocompletion tests pass. r=gl
☠☠ backed out by 58dc7aaefa9c ☠ ☠
authorTobias Schneider <schneider@jancona.com>
Wed, 16 Mar 2016 13:43:00 -0400
changeset 289417 9c6650c7e237b5f8473963565f7b6250cfe96a7a
parent 289416 fb8b3ab41c828cef62e979a3ec1c2974cbb1277b
child 289418 cbceb4f4ec73a560ade80ff920229621c2851104
push id30102
push userryanvm@gmail.com
push dateSat, 19 Mar 2016 15:23:17 +0000
treeherdermozilla-central@720fb3d55e28 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgl
bugs1209273
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1209273 - Part 3: Make CSS autocompletion tests pass. r=gl
devtools/client/inspector/rules/test/browser_rules_completion-new-property_02.js
devtools/client/sourceeditor/test/css_autocompletion_tests.json
--- a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_02.js
+++ b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_02.js
@@ -19,18 +19,19 @@
 var testData = [
   ["d", {}, "direction", 0, 3, false],
   ["VK_DOWN", {}, "display", 1, 3, false],
   ["VK_TAB", {}, "", -1, 10, true],
   ["VK_DOWN", {}, "-moz-box", 0, 10, true],
   ["n", {}, "none", -1, 0, true],
   ["VK_TAB", {shiftKey: true}, "display", -1, 0, true],
   ["VK_BACK_SPACE", {}, "", -1, 0, false],
-  ["c", {}, "caption-side", 0, 10, false],
-  ["o", {}, "color", 0, 7, false],
+  ["o", {}, "object-fit", 0, 10],
+  ["u", {}, "outline", 0, 5],
+  ["VK_DOWN", {}, "outline-color", 1, 5],
   ["VK_TAB", {}, "none", -1, 0, true],
   ["r", {}, "rebeccapurple", 0, 6, true],
   ["VK_DOWN", {}, "red", 1, 6, true],
   ["VK_DOWN", {}, "rgb", 2, 6, true],
   ["VK_DOWN", {}, "rgba", 3, 6, true],
   ["VK_DOWN", {}, "rosybrown", 4, 6, true],
   ["VK_DOWN", {}, "royalblue", 5, 6, true],
   ["VK_RIGHT", {}, "royalblue", -1, 0, false],
--- a/devtools/client/sourceeditor/test/css_autocompletion_tests.json
+++ b/devtools/client/sourceeditor/test/css_autocompletion_tests.json
@@ -13,18 +13,21 @@
   [[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-repeat',
+              'background-size']],
   [[21,  9], ["-moz-calc", "auto", "calc", "inherit", "initial","unset"]],
-  [[22,  5], ['color', 'color-interpolation', 'color-interpolation-filters']],
   [[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']],