Bug 1097922 - Remove temporary aliases for -moz-text-decoration-*. r=dbaron
authorTooru Fujisawa <arai_a@mac.com>
Fri, 03 Apr 2015 17:47:38 +0900
changeset 237524 890e0a621055c31b1cdfec1015fcfc0865a2b4e0
parent 237523 5c982f0795decc99890aac978217f4216b23745c
child 237525 4d7f9a62a3658b74acdef53fb815f4a12229d29c
push id57963
push userarai_a@mac.com
push dateFri, 03 Apr 2015 08:48:03 +0000
treeherdermozilla-inbound@890e0a621055 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1097922
milestone40.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 1097922 - Remove temporary aliases for -moz-text-decoration-*. r=dbaron
layout/style/nsCSSPropAliasList.h
layout/style/test/property_database.js
--- a/layout/style/nsCSSPropAliasList.h
+++ b/layout/style/nsCSSPropAliasList.h
@@ -122,28 +122,16 @@ CSS_PROP_ALIAS(-moz-box-sizing,
 CSS_PROP_ALIAS(-moz-font-feature-settings,
                font_feature_settings,
                MozFontFeatureSettings,
                "layout.css.prefixes.font-features")
 CSS_PROP_ALIAS(-moz-font-language-override,
                font_language_override,
                MozFontLanguageOverride,
                "layout.css.prefixes.font-features")
-CSS_PROP_ALIAS(-moz-text-decoration-color,
-               text_decoration_color,
-               MozTextDecorationColor,
-               "")
-CSS_PROP_ALIAS(-moz-text-decoration-line,
-               text_decoration_line,
-               MozTextDecorationLine,
-               "")
-CSS_PROP_ALIAS(-moz-text-decoration-style,
-               text_decoration_style,
-               MozTextDecorationStyle,
-               "")
 CSS_PROP_ALIAS(padding-inline-end,
                padding_end,
                PaddingInlineEnd,
                "layout.css.vertical-text.enabled")
 CSS_PROP_ALIAS(padding-inline-start,
                padding_start,
                PaddingInlineStart,
                "layout.css.vertical-text.enabled")
--- a/layout/style/test/property_database.js
+++ b/layout/style/test/property_database.js
@@ -3321,60 +3321,32 @@ var gCSSProperties = {
     domProp: "textDecorationColor",
     inherited: false,
     type: CSS_TYPE_LONGHAND,
     prerequisites: { "color": "black" },
     initial_values: [ "currentColor", "-moz-use-text-color" ],
     other_values: [ "green", "rgba(255,128,0,0.5)", "transparent" ],
     invalid_values: [ "#0", "#00", "#0000", "#00000", "#0000000", "#00000000", "#000000000", "000000", "ff00ff" ]
   },
-  "-moz-text-decoration-color": {
-    domProp: "MozTextDecorationColor",
-    inherited: false,
-    type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
-    alias_for: "text-decoration-color",
-    prerequisites: { "color": "black" },
-    initial_values: [ "currentColor", "-moz-use-text-color" ],
-    other_values: [ "green", "rgba(255,128,0,0.5)", "transparent" ],
-    invalid_values: [ "#0", "#00", "#0000", "#00000", "#0000000", "#00000000", "#000000000", "000000", "ff00ff" ]
-  },
   "text-decoration-line": {
     domProp: "textDecorationLine",
     inherited: false,
     type: CSS_TYPE_LONGHAND,
     initial_values: [ "none" ],
     other_values: [ "underline", "overline", "line-through", "blink", "blink line-through underline", "underline overline line-through blink", "-moz-anchor-decoration", "blink -moz-anchor-decoration" ],
     invalid_values: [ "none none", "underline none", "none underline", "line-through blink line-through", "underline overline line-through blink none", "underline overline line-throuh blink blink" ]
   },
-  "-moz-text-decoration-line": {
-    domProp: "MozTextDecorationLine",
-    inherited: false,
-    type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
-    alias_for: "text-decoration-line",
-    initial_values: [ "none" ],
-    other_values: [ "underline", "overline", "line-through", "blink", "blink line-through underline", "underline overline line-through blink", "-moz-anchor-decoration", "blink -moz-anchor-decoration" ],
-    invalid_values: [ "none none", "underline none", "none underline", "line-through blink line-through", "underline overline line-through blink none", "underline overline line-throuh blink blink" ]
-  },
   "text-decoration-style": {
     domProp: "textDecorationStyle",
     inherited: false,
     type: CSS_TYPE_LONGHAND,
     initial_values: [ "solid" ],
     other_values: [ "double", "dotted", "dashed", "wavy", "-moz-none" ],
     invalid_values: [ "none", "groove", "ridge", "inset", "outset", "solid dashed", "wave" ]
   },
-  "-moz-text-decoration-style": {
-    domProp: "MozTextDecorationStyle",
-    inherited: false,
-    type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
-    alias_for: "text-decoration-style",
-    initial_values: [ "solid" ],
-    other_values: [ "double", "dotted", "dashed", "wavy", "-moz-none" ],
-    invalid_values: [ "none", "groove", "ridge", "inset", "outset", "solid dashed", "wave" ]
-  },
   "text-indent": {
     domProp: "textIndent",
     inherited: true,
     type: CSS_TYPE_LONGHAND,
     initial_values: [ "0", "calc(3em - 5em + 2px + 2em - 2px)" ],
     other_values: [ "2em", "5%", "-10px",
       "calc(2px)",
       "calc(-2px)",