Skip to content

Commit

Permalink
fixed misspelling of "subtract" for mask-composite (#1378)
Browse files Browse the repository at this point in the history
  • Loading branch information
crankysparrow committed Nov 26, 2020
1 parent bbb717e commit 1c82076
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/hacks/mask-composite.js
Expand Up @@ -73,7 +73,7 @@ MaskComposite.names = ['mask', 'mask-composite']

MaskComposite.oldValues = {
add: 'source-over',
substract: 'source-out',
subtract: 'source-out',
intersect: 'source-in',
exclude: 'xor'
}
Expand Down
2 changes: 1 addition & 1 deletion test/cases/mask-composite.css
Expand Up @@ -19,5 +19,5 @@ a {
}

a {
mask-composite: add, substract, exclude;
mask-composite: add, subtract, exclude;
}
2 changes: 1 addition & 1 deletion test/cases/mask-composite.out.css
Expand Up @@ -27,5 +27,5 @@ a {

a {
-webkit-mask-composite: source-over, source-out, xor;
mask-composite: add, substract, exclude;
mask-composite: add, subtract, exclude;
}

0 comments on commit 1c82076

Please sign in to comment.