Skip to content

Commit

Permalink
fix(postcss-reduce-initial): fix mask-repeat conversion
Browse files Browse the repository at this point in the history
Fix mask-repeat initial value and fix test that did not
catch the issue because the default browserslist query
includes opera mini which does not support initial.

Fix #1452
  • Loading branch information
ludofischer committed Nov 10, 2022
1 parent ae83e20 commit a32df1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/postcss-reduce-initial/src/data/toInitial.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"mask-clip": "border-box",
"mask-mode": "match-source",
"mask-origin": "border-box",
"mask-repeat": "no-repeat",
"mask-type": "luminance",
"ruby-align": "space-around",
"ruby-merge": "separate",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-reduce-initial/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ test(
but MDN has the wrong data so */
test(
'preserve no-repeat mask-repeat',
passthroughCSS('div{mask-repeat:no-repeat}')
passthroughCSS('div{mask-repeat:no-repeat}', { env: 'chrome58' })
);

test(
Expand Down

0 comments on commit a32df1a

Please sign in to comment.