Bug 1249134: Remove support for -webkit-appearance as an alias for -moz-appearance, since the two prefixed properties behave differently in practice. r=heycam
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 17 Feb 2016 19:03:39 -0800
changeset 284652 a8431b350f2b495a95f826593c514bff2242c3c2
parent 284651 9f14c676b59afac646c9e147eb20a62915ecfde1
child 284653 a94e767c395260a1b463c38dffa62c3b90cf75c9
push id30008
push usercbook@mozilla.com
push dateThu, 18 Feb 2016 11:01:39 +0000
treeherdermozilla-central@1150ac4755c7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1249134
milestone47.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 1249134: Remove support for -webkit-appearance as an alias for -moz-appearance, since the two prefixed properties behave differently in practice. r=heycam
layout/style/nsCSSPropAliasList.h
layout/style/test/property_database.js
--- a/layout/style/nsCSSPropAliasList.h
+++ b/layout/style/nsCSSPropAliasList.h
@@ -291,20 +291,16 @@ CSS_PROP_ALIAS(-webkit-border-bottom-lef
                border_bottom_left_radius,
                WebkitBorderBottomLeftRadius, // really no dom property
                WEBKIT_PREFIX_PREF)
 CSS_PROP_ALIAS(-webkit-border-bottom-right-radius,
                border_bottom_right_radius,
                WebkitBorderBottomRightRadius, // really no dom property
                WEBKIT_PREFIX_PREF)
 
-CSS_PROP_ALIAS(-webkit-appearance,
-               appearance,
-               WebkitAppearance,
-               WEBKIT_PREFIX_PREF)
 CSS_PROP_ALIAS(-webkit-background-clip,
                background_clip,
                WebkitBackgroundClip,
                WEBKIT_PREFIX_PREF)
 CSS_PROP_ALIAS(-webkit-background-origin,
                background_origin,
                WebkitBackgroundOrigin,
                WEBKIT_PREFIX_PREF)
--- a/layout/style/test/property_database.js
+++ b/layout/style/test/property_database.js
@@ -7116,23 +7116,16 @@ if (IsCSSPropertyPrefEnabled("layout.css
   };
   gCSSProperties["-webkit-border-bottom-right-radius"] = {
     domProp: "webkitBorderBottomRightRadius",
     inherited: false,
     type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
     alias_for: "border-bottom-right-radius",
     subproperties: [ "border-bottom-right-radius" ],
   };
-  gCSSProperties["-webkit-appearance"] = {
-    domProp: "webkitAppearance",
-    inherited: false,
-    type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
-    alias_for: "-moz-appearance",
-    subproperties: [ "-moz-appearance" ],
-  };
   gCSSProperties["-webkit-background-clip"] = {
     domProp: "webkitBackgroundClip",
     inherited: false,
     type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
     alias_for: "background-clip",
     subproperties: [ "background-clip" ],
   };
   gCSSProperties["-webkit-background-origin"] = {