diff --git a/layout/style/nsCSSPropAliasList.h b/layout/style/nsCSSPropAliasList.h index 36041ea3d565..eca6756673c5 100644 --- a/layout/style/nsCSSPropAliasList.h +++ b/layout/style/nsCSSPropAliasList.h @@ -296,10 +296,32 @@ CSS_PROP_ALIAS(-webkit-background-size, background_size, WebkitBackgroundSize, WEBKIT_PREFIX_PREF) + CSS_PROP_ALIAS(-webkit-border-image, border_image, WebkitBorderImage, WEBKIT_PREFIX_PREF) +CSS_PROP_ALIAS(-webkit-border-image-outset, + border_image_outset, + WebkitBorderImageOutset, + WEBKIT_PREFIX_PREF) +CSS_PROP_ALIAS(-webkit-border-image-repeat, + border_image_repeat, + WebkitBorderImageRepeat, + WEBKIT_PREFIX_PREF) +CSS_PROP_ALIAS(-webkit-border-image-slice, + border_image_slice, + WebkitBorderImageSlice, + WEBKIT_PREFIX_PREF) +CSS_PROP_ALIAS(-webkit-border-image-source, + border_image_source, + WebkitBorderImageSource, + WEBKIT_PREFIX_PREF) +CSS_PROP_ALIAS(-webkit-border-image-width, + border_image_width, + WebkitBorderImageWidth, + WEBKIT_PREFIX_PREF) + CSS_PROP_ALIAS(-webkit-box-shadow, box_shadow, WebkitBoxShadow, diff --git a/layout/style/test/property_database.js b/layout/style/test/property_database.js index 778f8d752e85..0bd542b30328 100644 --- a/layout/style/test/property_database.js +++ b/layout/style/test/property_database.js @@ -6664,6 +6664,41 @@ if (IsCSSPropertyPrefEnabled("layout.css.prefixes.webkit")) { alias_for: "border-image", subproperties: [ "border-image-source", "border-image-slice", "border-image-width", "border-image-outset", "border-image-repeat" ], }; + gCSSProperties["-webkit-border-image-outset"] = { + domProp: "webkitBorderImageOutset", + inherited: false, + type: CSS_TYPE_SHORTHAND_AND_LONGHAND, + alias_for: "border-image-outset", + subproperties: [ "border-image-outset" ], + }; + gCSSProperties["-webkit-border-image-repeat"] = { + domProp: "webkitBorderImageRepeat", + inherited: false, + type: CSS_TYPE_SHORTHAND_AND_LONGHAND, + alias_for: "border-image-repeat", + subproperties: [ "border-image-repeat" ], + }; + gCSSProperties["-webkit-border-image-slice"] = { + domProp: "webkitBorderImageSlice", + inherited: false, + type: CSS_TYPE_SHORTHAND_AND_LONGHAND, + alias_for: "border-image-slice", + subproperties: [ "border-image-slice" ], + }; + gCSSProperties["-webkit-border-image-source"] = { + domProp: "webkitBorderImageSource", + inherited: false, + type: CSS_TYPE_SHORTHAND_AND_LONGHAND, + alias_for: "border-image-source", + subproperties: [ "border-image-source" ], + }; + gCSSProperties["-webkit-border-image-width"] = { + domProp: "webkitBorderImageWidth", + inherited: false, + type: CSS_TYPE_SHORTHAND_AND_LONGHAND, + alias_for: "border-image-width", + subproperties: [ "border-image-width" ], + }; gCSSProperties["-webkit-box-shadow"] = { domProp: "webkitBoxShadow", inherited: false,