Skip to content

Commit a32df1a

Browse files
committed
fix(postcss-reduce-initial): fix mask-repeat conversion
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
1 parent ae83e20 commit a32df1a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/postcss-reduce-initial/src/data/toInitial.json

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"mask-clip": "border-box",
2323
"mask-mode": "match-source",
2424
"mask-origin": "border-box",
25-
"mask-repeat": "no-repeat",
2625
"mask-type": "luminance",
2726
"ruby-align": "space-around",
2827
"ruby-merge": "separate",

packages/postcss-reduce-initial/test/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ test(
104104
but MDN has the wrong data so */
105105
test(
106106
'preserve no-repeat mask-repeat',
107-
passthroughCSS('div{mask-repeat:no-repeat}')
107+
passthroughCSS('div{mask-repeat:no-repeat}', { env: 'chrome58' })
108108
);
109109

110110
test(

0 commit comments

Comments
 (0)