Bug 1333482 part 6 - [css-ui] Manually tweak some tests for 'appearance' changes. r=dholbert
authorMats Palmgren <mats@mozilla.com>
Thu, 23 Mar 2017 23:13:18 +0100
changeset 349338 6c1b4f18f22180c8824f5ca343451a09adbc1366
parent 349337 2a92996b50fe88986dd7ed2e6936a6f5f26e2c18
child 349339 4f3bd2974af3969e0a343c587534074c2c7c575a
push id31550
push usercbook@mozilla.com
push dateFri, 24 Mar 2017 13:22:27 +0000
treeherdermozilla-central@473e0b201761 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1333482
milestone55.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 1333482 part 6 - [css-ui] Manually tweak some tests for 'appearance' changes. r=dholbert MozReview-Commit-ID: 9cBAQIeS2TG
browser/base/content/test/static/browser_parsable_css.js
devtools/client/sourceeditor/test/css_statemachine_tests.json
dom/animation/test/mozilla/file_discrete-animations.html
--- a/browser/base/content/test/static/browser_parsable_css.js
+++ b/browser/base/content/test/static/browser_parsable_css.js
@@ -15,20 +15,16 @@ let whitelist = [
    isFromDevTools: true},
   // The debugger uses cross-browser CSS.
   {sourceName: /devtools\/client\/debugger\/new\/debugger.css/i,
    isFromDevTools: true},
   // PDFjs is futureproofing its pseudoselectors, and those rules are dropped.
   {sourceName: /web\/viewer\.css$/i,
    errorMessage: /Unknown pseudo-class.*(fullscreen|selection)/i,
    isFromDevTools: false},
-  // PDFjs rules needed for compat with other UAs.
-  {sourceName: /web\/viewer\.css$/i,
-   errorMessage: /Unknown property.*appearance/i,
-   isFromDevTools: false},
   // Tracked in bug 1004428.
   {sourceName: /aboutaccounts\/(main|normalize)\.css$/i,
    isFromDevTools: false},
   // Highlighter CSS uses a UA-only pseudo-class, see bug 985597.
   {sourceName: /highlighters\.css$/i,
    errorMessage: /Unknown pseudo-class.*moz-native-anonymous/i,
    isFromDevTools: true},
   // Responsive Design Mode CSS uses a UA-only pseudo-class, see Bug 1241714.
--- a/devtools/client/sourceeditor/test/css_statemachine_tests.json
+++ b/devtools/client/sourceeditor/test/css_statemachine_tests.json
@@ -14,29 +14,26 @@
     "    propertyName,  // what property is being completed in case of value state",
     "                   // or the current selector that is being completed",
     "  ]",
     "]"
   ],
   "tests": [
     [[0, 10], ["null", "", "", ""]],
     [[4,  3], ["selector", "class", "de", ".de"]],
-    [[5,  8], ["property", "null", "-moz-a"]],
-    [[5, 21], ["value", "null", "no", "-moz-appearance"]],
     [[6, 18], ["property", "null", "padding"]],
     [[6, 24], ["value", "null", "3", "padding"]],
     [[6, 29], ["property", "null", "bo"]],
     [[6, 50], ["value", "null", "1p", "border-bottom-width"]],
     [[7, 24], ["value", "null", "s", "border-bottom-style"]],
     [[9,  0], ["null", "null", "", ""]],
     [[10, 6], ["selector", "id", "devto", "#devto"]],
     [[10, 17], ["selector", "class", "de", "#devtools-menu.de"]],
     [[11,  5], ["selector", "class", "devt", ".devt"]],
     [[11, 30], ["selector", "id", "devtoo", ".devtools-toolbarbutton#devtoo"]],
-    [[12, 10], ["property", "null", "-moz-app"]],
     [[16, 27], ["value", "null", "hsl", "text-shadow"]],
     [[19, 24], ["value", "null", "linear-gra", "background"]],
     [[19, 55], ["value", "null", "hsl", "background"]],
     [[19, 79], ["value", "null", "paddin", "background"]],
     [[20, 47], ["value", "null", "ins", "box-shadow"]],
     [[22, 15], ["value", "null", "inheri", "color"]],
     [[25, 26], ["selector", "null", "", ".devtools-toolbarbutton > "]],
     [[25, 28], ["selector", "tag", "hb", ".devtools-toolbarbutton > hb"]],
--- a/dom/animation/test/mozilla/file_discrete-animations.html
+++ b/dom/animation/test/mozilla/file_discrete-animations.html
@@ -4,21 +4,16 @@
 <title>Test Mozilla-specific discrete animatable properties</title>
 <script type="application/javascript" src="../testcommon.js"></script>
 </head>
 <body>
 <script>
 "use strict";
 
 const gMozillaSpecificProperties = {
-  "-moz-appearance": {
-    // https://drafts.csswg.org/css-align/#propdef-align-content
-    from: "button",
-    to: "none"
-  },
   "-moz-border-bottom-colors": {
     from: "rgb(255, 0, 0) rgb(255, 0, 0) rgb(255, 0, 0) rgb(255, 0, 0)",
     to: "rgb(0, 255, 0) rgb(0, 255, 0) rgb(0, 255, 0) rgb(0, 255, 0)"
   },
   "-moz-border-left-colors": {
     from: "rgb(255, 0, 0) rgb(255, 0, 0) rgb(255, 0, 0) rgb(255, 0, 0)",
     to: "rgb(0, 255, 0) rgb(0, 255, 0) rgb(0, 255, 0) rgb(0, 255, 0)"
   },