From 62dddfb2a69a23f17224c81db65d41404e574836 Mon Sep 17 00:00:00 2001 From: Thomas Wisniewski Date: Wed, 23 Nov 2022 20:26:14 +0000 Subject: [PATCH] style: Alias -webkit-clip-path to clip-path for webcompat Differential Revision: https://phabricator.services.mozilla.com/D162674 --- components/style/properties/counted_unknown_properties.py | 1 - components/style/properties/longhands/svg.mako.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/counted_unknown_properties.py b/components/style/properties/counted_unknown_properties.py index 997fd167a07..08905b15721 100644 --- a/components/style/properties/counted_unknown_properties.py +++ b/components/style/properties/counted_unknown_properties.py @@ -19,7 +19,6 @@ COUNTED_UNKNOWN_PROPERTIES = [ "text-size-adjust", "-webkit-font-feature-settings", "-webkit-user-drag", - "-webkit-clip-path", "orphans", "widows", "-webkit-user-modify", diff --git a/components/style/properties/longhands/svg.mako.rs b/components/style/properties/longhands/svg.mako.rs index 13704e5953b..cb8764a3faf 100644 --- a/components/style/properties/longhands/svg.mako.rs +++ b/components/style/properties/longhands/svg.mako.rs @@ -80,6 +80,7 @@ ${helpers.predefined_type( "basic_shape::ClipPath", "generics::basic_shape::ClipPath::None", engines="gecko", + extra_prefixes="webkit", animation_value_type="basic_shape::ClipPath", spec="https://drafts.fxtf.org/css-masking/#propdef-clip-path", )}