Bug 1276808 - Remove -moz-text-align-last property. draft
authorAstley Chen <aschen@mozilla.com>
Tue, 29 Nov 2016 08:39:26 +0800
changeset 444890 f80e1eebf775240977d00092f721f9e7ecf9ef85
parent 444725 8387a4ada9a5c4cab059d8fafe0f8c933e83c149
child 444891 071a8fdf805c1b8ada2b8303f9d94ee2fff02687
push id37391
push useraschen@mozilla.com
push dateTue, 29 Nov 2016 00:40:48 +0000
bugs1276808
milestone53.0a1
Bug 1276808 - Remove -moz-text-align-last property. MozReview-Commit-ID: HJtOLrtKnDU
layout/style/nsCSSPropAliasList.h
layout/style/test/property_database.js
--- a/layout/style/nsCSSPropAliasList.h
+++ b/layout/style/nsCSSPropAliasList.h
@@ -178,20 +178,16 @@ CSS_PROP_ALIAS(-moz-border-start-style,
 CSS_PROP_ALIAS(-moz-border-start-width,
                border_inline_start_width,
                MozBorderStartWidth,
                "")
 CSS_PROP_ALIAS(-moz-hyphens,
                hyphens,
                MozHyphens,
                "")
-CSS_PROP_ALIAS(-moz-text-align-last,
-               text_align_last,
-               MozTextAlignLast,
-               "")
 CSS_PROP_ALIAS(-moz-column-count,
                column_count,
                MozColumnCount,
                "")
 CSS_PROP_ALIAS(-moz-column-fill,
                column_fill,
                MozColumnFill,
                "")
--- a/layout/style/test/property_database.js
+++ b/layout/style/test/property_database.js
@@ -5020,23 +5020,16 @@ var gCSSProperties = {
   },
   "-moz-hyphens": {
     domProp: "MozHyphens",
     inherited: true,
     type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
     alias_for: "hyphens",
     subproperties: [ "hyphens" ],
   },
-  "-moz-text-align-last": {
-    domProp: "MozTextAlignLast",
-    inherited: true,
-    type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
-    alias_for: "text-align-last",
-    subproperties: [ "text-align-last" ],
-  },
   // vertical text properties
   "writing-mode": {
     domProp: "writingMode",
     inherited: true,
     type: CSS_TYPE_LONGHAND,
     initial_values: [ "horizontal-tb", "lr", "lr-tb", "rl", "rl-tb" ],
     other_values: [ "vertical-lr", "vertical-rl", "sideways-rl", "sideways-lr", "tb", "tb-rl" ],
     invalid_values: [ "10px", "30%", "justify", "auto", "1em" ]