Bug 1417725 - Add -moz-column-span alias for column-span property. draft
authorNeerja Pancholi <npancholi@mozilla.com>
Wed, 15 Nov 2017 16:39:21 -0800
changeset 698716 942b204a4c0d97576ba2e75c39599b1f8bebe2ac
parent 698715 2edca86e7d3f23fceac407be6dea7f065b95c562
child 740420 94176ad76dd4b45c597c59f9cce4731e18e6d4e9
push id89334
push userbmo:npancholi@mozilla.com
push dateThu, 16 Nov 2017 00:39:30 +0000
bugs1417725
milestone59.0a1
Bug 1417725 - Add -moz-column-span alias for column-span property. MozReview-Commit-ID: G4a0UTVCw9o
devtools/shared/css/generated/properties-db.js
layout/style/nsCSSPropAliasList.h
layout/style/test/property_database.js
--- a/devtools/shared/css/generated/properties-db.js
+++ b/devtools/shared/css/generated/properties-db.js
@@ -886,16 +886,30 @@ exports.CSS_PROPERTIES = {
       "inherit",
       "initial",
       "medium",
       "thick",
       "thin",
       "unset"
     ]
   },
+  "-moz-column-span": {
+    "isInherited": false,
+    "subproperties": [
+      "column-span"
+    ],
+    "supports": [],
+    "values": [
+      "all",
+      "inherit",
+      "initial",
+      "none",
+      "unset"
+    ]
+  },
   "-moz-column-width": {
     "isInherited": false,
     "subproperties": [
       "column-width"
     ],
     "supports": [
       6
     ],
@@ -3415,16 +3429,17 @@ exports.CSS_PROPERTIES = {
       "flip",
       "flow-root",
       "forwards",
       "from-image",
       "full-width",
       "geometricprecision",
       "grab",
       "grabbing",
+      "grayscale",
       "grid",
       "groove",
       "groupbox",
       "hanging",
       "hard-light",
       "help",
       "hidden",
       "hide",
@@ -5788,16 +5803,30 @@ exports.CSS_PROPERTIES = {
       "inherit",
       "initial",
       "medium",
       "thick",
       "thin",
       "unset"
     ]
   },
+  "column-span": {
+    "isInherited": false,
+    "subproperties": [
+      "column-span"
+    ],
+    "supports": [],
+    "values": [
+      "all",
+      "inherit",
+      "initial",
+      "none",
+      "unset"
+    ]
+  },
   "column-width": {
     "isInherited": false,
     "subproperties": [
       "column-width"
     ],
     "supports": [
       6
     ],
--- a/layout/style/nsCSSPropAliasList.h
+++ b/layout/style/nsCSSPropAliasList.h
@@ -254,16 +254,21 @@ CSS_PROP_ALIAS(-moz-column-rule-style,
                column_rule_style,
                MozColumnRuleStyle,
                "")
 CSS_PROP_ALIAS(-moz-column-rule-width,
                _moz_column_rule_width,
                column_rule_width,
                MozColumnRuleWidth,
                "")
+CSS_PROP_ALIAS(-moz-column-span,
+               _moz_column_span,
+               column_span,
+               MozColumnSpan,
+               "")
 CSS_PROP_ALIAS(-moz-column-width,
                _moz_column_width,
                column_width,
                MozColumnWidth,
                "")
 CSS_PROP_ALIAS(-moz-columns,
                _moz_columns,
                columns,
--- a/layout/style/test/property_database.js
+++ b/layout/style/test/property_database.js
@@ -1976,16 +1976,23 @@ var gCSSProperties = {
   },
   "-moz-column-rule-color": {
     domProp: "MozColumnRuleColor",
     inherited: false,
     type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
     alias_for: "column-rule-color",
     subproperties: [ "column-rule-color" ]
   },
+  "-moz-column-span": {
+    domProp: "MozColumnSpan",
+    inherited: false,
+    type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
+    alias_for: "column-span",
+    subproperties: [ "column-span" ]
+  },
   "column-width": {
     domProp: "columnWidth",
     inherited: false,
     type: CSS_TYPE_LONGHAND,
     initial_values: [ "auto" ],
     other_values: [
       "15px",
       "calc(15px)",