Bug 1383650 - Run mach devtools-css-db to sync css db r=emilio
☠☠ backed out by 1624c5a31917 ☠ ☠
authorviolet <violet.bugreport@gmail.com>
Thu, 16 May 2019 00:56:22 +0000
changeset 532854 4316d55f87be80f99f1a56e162406fa0192e44f2
parent 532853 0118148f15342961169411101578d60e8eef1ef3
child 532855 97c7af33ac1db2daa8b55c9f4f7e14e342010ab7
push id11272
push userapavel@mozilla.com
push dateThu, 16 May 2019 15:28:22 +0000
treeherdermozilla-beta@2265bfc5920d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1383650
milestone68.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 1383650 - Run mach devtools-css-db to sync css db r=emilio This is the last part of this seris of patches to implement geometry property. This particular patch just run `./mach devtools-css-db` to update db per instruction at the beginning of devtools/shared/tests/unit/test_css-properties-db.js, and also a manual addition to the animation property db. After this patch, the SVG geometry propery is implemented for <rect>, <circle>, <ellipse> and <foreignObject>. We already implemented outer <svg>. Thus the remainings are inner <svg> and <image>, which are kind of different to the others, so they will be handled in some follow-ups. Note that these patches won't impact old behavior of inner <svg> and <image>. Differential Revision: https://phabricator.services.mozilla.com/D30808
devtools/server/actors/animation-type-longhand.js
devtools/shared/css/generated/properties-db.js
--- a/devtools/server/actors/animation-type-longhand.js
+++ b/devtools/server/actors/animation-type-longhand.js
@@ -288,16 +288,18 @@ exports.ANIMATION_TYPE_FOR_LONGHANDS = [
     "border-top-right-radius",
     "border-start-start-radius",
     "border-start-end-radius",
     "border-end-start-radius",
     "border-end-end-radius",
     "bottom",
     "column-gap",
     "column-width",
+    "cx",
+    "cy",
     "flex-basis",
     "height",
     "left",
     "letter-spacing",
     "line-height",
     "margin-bottom",
     "margin-left",
     "margin-right",
@@ -310,16 +312,19 @@ exports.ANIMATION_TYPE_FOR_LONGHANDS = [
     "-moz-outline-radius-bottomright",
     "-moz-outline-radius-topleft",
     "-moz-outline-radius-topright",
     "padding-bottom",
     "padding-left",
     "padding-right",
     "padding-top",
     "perspective",
+    "r",
+    "rx",
+    "ry",
     "right",
     "row-gap",
     "scroll-padding-block-start",
     "scroll-padding-block-end",
     "scroll-padding-inline-start",
     "scroll-padding-inline-end",
     "scroll-padding-top",
     "scroll-padding-right",
@@ -337,16 +342,18 @@ exports.ANIMATION_TYPE_FOR_LONGHANDS = [
     "stroke-dashoffset",
     "stroke-width",
     "-moz-tab-size",
     "text-indent",
     "top",
     "vertical-align",
     "width",
     "word-spacing",
+    "x",
+    "y",
     "z-index",
   ])],
   ["float", new Set([
     "-moz-box-flex",
     "fill-opacity",
     "flex-grow",
     "flex-shrink",
     "flood-opacity",
--- a/devtools/shared/css/generated/properties-db.js
+++ b/devtools/shared/css/generated/properties-db.js
@@ -3310,16 +3310,23 @@ exports.CSS_PROPERTIES = {
       "mask-repeat",
       "mask-position-x",
       "mask-position-y",
       "mask-clip",
       "mask-origin",
       "mask-size",
       "mask-composite",
       "mask-image",
+      "x",
+      "y",
+      "cx",
+      "cy",
+      "rx",
+      "ry",
+      "r",
       "-moz-box-align",
       "-moz-box-direction",
       "-moz-box-flex",
       "-moz-box-orient",
       "-moz-box-pack",
       "-moz-stack-sizing",
       "-moz-box-ordinal-group"
     ],
@@ -5827,16 +5834,42 @@ exports.CSS_PROPERTIES = {
       "url",
       "vertical-text",
       "w-resize",
       "wait",
       "zoom-in",
       "zoom-out"
     ]
   },
+  "cx": {
+    "isInherited": false,
+    "subproperties": [
+      "cx"
+    ],
+    "supports": [],
+    "values": [
+      "inherit",
+      "initial",
+      "revert",
+      "unset"
+    ]
+  },
+  "cy": {
+    "isInherited": false,
+    "subproperties": [
+      "cy"
+    ],
+    "supports": [],
+    "values": [
+      "inherit",
+      "initial",
+      "revert",
+      "unset"
+    ]
+  },
   "direction": {
     "isInherited": true,
     "subproperties": [
       "direction"
     ],
     "supports": [],
     "values": [
       "inherit",
@@ -8910,16 +8943,29 @@ exports.CSS_PROPERTIES = {
     "values": [
       "inherit",
       "initial",
       "none",
       "revert",
       "unset"
     ]
   },
+  "r": {
+    "isInherited": false,
+    "subproperties": [
+      "r"
+    ],
+    "supports": [],
+    "values": [
+      "inherit",
+      "initial",
+      "revert",
+      "unset"
+    ]
+  },
   "resize": {
     "isInherited": false,
     "subproperties": [
       "resize"
     ],
     "supports": [],
     "values": [
       "block",
@@ -8989,16 +9035,44 @@ exports.CSS_PROPERTIES = {
       "inherit",
       "initial",
       "over",
       "revert",
       "under",
       "unset"
     ]
   },
+  "rx": {
+    "isInherited": false,
+    "subproperties": [
+      "rx"
+    ],
+    "supports": [],
+    "values": [
+      "auto",
+      "inherit",
+      "initial",
+      "revert",
+      "unset"
+    ]
+  },
+  "ry": {
+    "isInherited": false,
+    "subproperties": [
+      "ry"
+    ],
+    "supports": [],
+    "values": [
+      "auto",
+      "inherit",
+      "initial",
+      "revert",
+      "unset"
+    ]
+  },
   "scroll-behavior": {
     "isInherited": false,
     "subproperties": [
       "scroll-behavior"
     ],
     "supports": [],
     "values": [
       "auto",
@@ -10439,16 +10513,42 @@ exports.CSS_PROPERTIES = {
       "sideways-rl",
       "tb",
       "tb-rl",
       "unset",
       "vertical-lr",
       "vertical-rl"
     ]
   },
+  "x": {
+    "isInherited": false,
+    "subproperties": [
+      "x"
+    ],
+    "supports": [],
+    "values": [
+      "inherit",
+      "initial",
+      "revert",
+      "unset"
+    ]
+  },
+  "y": {
+    "isInherited": false,
+    "subproperties": [
+      "y"
+    ],
+    "supports": [],
+    "values": [
+      "inherit",
+      "initial",
+      "revert",
+      "unset"
+    ]
+  },
   "z-index": {
     "isInherited": false,
     "subproperties": [
       "z-index"
     ],
     "supports": [],
     "values": [
       "auto",
@@ -10592,16 +10692,48 @@ exports.PREFERENCES = [
     "scroll-snap-destination",
     "layout.css.scroll-snap.enabled"
   ],
   [
     "-moz-binding",
     "layout.css.moz-binding.content.enabled"
   ],
   [
+    "scroll-margin-block-end",
+    "layout.css.scroll-snap-v1.enabled"
+  ],
+  [
+    "scroll-margin-block-start",
+    "layout.css.scroll-snap-v1.enabled"
+  ],
+  [
+    "scroll-margin-bottom",
+    "layout.css.scroll-snap-v1.enabled"
+  ],
+  [
+    "scroll-margin-inline-end",
+    "layout.css.scroll-snap-v1.enabled"
+  ],
+  [
+    "scroll-margin-inline-start",
+    "layout.css.scroll-snap-v1.enabled"
+  ],
+  [
+    "scroll-margin-left",
+    "layout.css.scroll-snap-v1.enabled"
+  ],
+  [
+    "scroll-margin-right",
+    "layout.css.scroll-snap-v1.enabled"
+  ],
+  [
+    "scroll-margin-top",
+    "layout.css.scroll-snap-v1.enabled"
+  ],
+  [
     "scroll-padding-block-end",
     "layout.css.scroll-snap-v1.enabled"
   ],
   [
     "scroll-padding-block-start",
     "layout.css.scroll-snap-v1.enabled"
   ],
   [
@@ -10624,48 +10756,16 @@ exports.PREFERENCES = [
     "scroll-padding-right",
     "layout.css.scroll-snap-v1.enabled"
   ],
   [
     "scroll-padding-top",
     "layout.css.scroll-snap-v1.enabled"
   ],
   [
-    "scroll-margin-block-end",
-    "layout.css.scroll-snap-v1.enabled"
-  ],
-  [
-    "scroll-margin-block-start",
-    "layout.css.scroll-snap-v1.enabled"
-  ],
-  [
-    "scroll-margin-bottom",
-    "layout.css.scroll-snap-v1.enabled"
-  ],
-  [
-    "scroll-margin-inline-end",
-    "layout.css.scroll-snap-v1.enabled"
-  ],
-  [
-    "scroll-margin-inline-start",
-    "layout.css.scroll-snap-v1.enabled"
-  ],
-  [
-    "scroll-margin-left",
-    "layout.css.scroll-snap-v1.enabled"
-  ],
-  [
-    "scroll-margin-right",
-    "layout.css.scroll-snap-v1.enabled"
-  ],
-  [
-    "scroll-margin-top",
-    "layout.css.scroll-snap-v1.enabled"
-  ],
-  [
     "-webkit-text-stroke-width",
     "layout.css.prefixes.webkit"
   ],
   [
     "-webkit-text-fill-color",
     "layout.css.prefixes.webkit"
   ],
   [