Bug 686281 - Implement CSS mask alias; r=:dbaron draft
authorCJKu <cku@mozilla.com>
Thu, 12 Nov 2015 17:04:50 +0800
changeset 308389 e385823e9ef300b18e0eba87b99da19d7326506c
parent 308388 b8cb9aba2e365318ce527873cf415ab2ef92eae2
child 308390 8200ec8e47c0fbeb1b058b960733f84a04eefc21
push id7465
push usercku@mozilla.com
push dateThu, 12 Nov 2015 09:05:57 +0000
bugs686281
milestone45.0a1
Bug 686281 - Implement CSS mask alias; r=:dbaron
layout/style/nsCSSPropAliasList.h
--- a/layout/style/nsCSSPropAliasList.h
+++ b/layout/style/nsCSSPropAliasList.h
@@ -361,9 +361,46 @@ CSS_PROP_ALIAS(-webkit-box-pack,
                WebkitBoxPack,
                WEBKIT_PREFIX_PREF)
 
 CSS_PROP_ALIAS(-webkit-user-select,
                user_select,
                WebkitUserSelect,
                WEBKIT_PREFIX_PREF)
 
+CSS_PROP_ALIAS(-webkit-mask,
+               mask,
+               WebkitMask,
+               WEBKIT_PREFIX_PREF)
+CSS_PROP_ALIAS(-webkit-mask-clip,
+               mask_clip,
+               WebkitMaskClip,
+               WEBKIT_PREFIX_PREF)
+CSS_PROP_ALIAS(-webkit-mask-composite,
+               mask_composite,
+               WebkitMaskcomposite,
+               WEBKIT_PREFIX_PREF)
+CSS_PROP_ALIAS(-webkit-mask-image,
+               mask_image,
+               WebkitMaskImage,
+               WEBKIT_PREFIX_PREF)
+CSS_PROP_ALIAS(-webkit-mask-mode,
+               mask_mode,
+               WebkitMaskMode,
+               WEBKIT_PREFIX_PREF)
+CSS_PROP_ALIAS(-webkit-mask-origin,
+               mask_origin,
+               WebkitMaskOrigin,
+               WEBKIT_PREFIX_PREF)
+CSS_PROP_ALIAS(-webkit-mask-position,
+               mask_position,
+               WebkitMaskPosition,
+               WEBKIT_PREFIX_PREF)
+CSS_PROP_ALIAS(-webkit-mask-repeat,
+               mask_repeat,
+               WebkitMaskRepeat,
+               WEBKIT_PREFIX_PREF)
+CSS_PROP_ALIAS(-webkit-mask-size,
+               mask_size,
+               WebkitMaskSize,
+               WEBKIT_PREFIX_PREF)
+
 #undef WEBKIT_PREFIX_PREF