forked from mirrors/gecko-dev
Bug 1800969 - Alias -webkit-clip-path to clip-path for webcompat; r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162674
This commit is contained in:
parent
98dcd314c1
commit
30fc75f4ab
4 changed files with 36 additions and 1 deletions
|
|
@ -1916,6 +1916,34 @@ exports.CSS_PROPERTIES = {
|
|||
"unset"
|
||||
]
|
||||
},
|
||||
"-webkit-clip-path": {
|
||||
"isInherited": false,
|
||||
"subproperties": [
|
||||
"clip-path"
|
||||
],
|
||||
"supports": [],
|
||||
"values": [
|
||||
"border-box",
|
||||
"circle",
|
||||
"content-box",
|
||||
"ellipse",
|
||||
"fill-box",
|
||||
"inherit",
|
||||
"initial",
|
||||
"inset",
|
||||
"margin-box",
|
||||
"none",
|
||||
"padding-box",
|
||||
"path",
|
||||
"polygon",
|
||||
"revert",
|
||||
"revert-layer",
|
||||
"stroke-box",
|
||||
"unset",
|
||||
"url",
|
||||
"view-box"
|
||||
]
|
||||
},
|
||||
"-webkit-filter": {
|
||||
"isInherited": false,
|
||||
"subproperties": [
|
||||
|
|
|
|||
|
|
@ -11092,6 +11092,13 @@ var gCSSProperties = {
|
|||
alias_for: "animation-timing-function",
|
||||
subproperties: ["animation-timing-function"],
|
||||
},
|
||||
"-webkit-clip-path": {
|
||||
domProp: "webkitClipPath",
|
||||
inherited: false,
|
||||
type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
|
||||
alias_for: "clip-path",
|
||||
subproperties: ["clip-path"],
|
||||
},
|
||||
"-webkit-filter": {
|
||||
domProp: "webkitFilter",
|
||||
inherited: false,
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue