Skip to content

Commit 488c0e3

Browse files
committed
Don't include vendor prefix for background-clip: text
Better to rely on autoprefixer for this for now. If we want to start shipping prefixes we should do it across the board, not just in one spot.
1 parent 5b82b6f commit 488c0e3

File tree

5 files changed

+1
-21
lines changed

5 files changed

+1
-21
lines changed

__tests__/fixtures/tailwind-output-flagged.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2921,7 +2921,6 @@ video {
29212921

29222922
.bg-clip-text {
29232923
background-clip: text;
2924-
-webkit-background-clip: text;
29252924
}
29262925

29272926
.bg-transparent {
@@ -28019,7 +28018,6 @@ video {
2801928018

2802028019
.sm\:bg-clip-text {
2802128020
background-clip: text;
28022-
-webkit-background-clip: text;
2802328021
}
2802428022

2802528023
.sm\:bg-transparent {
@@ -53087,7 +53085,6 @@ video {
5308753085

5308853086
.md\:bg-clip-text {
5308953087
background-clip: text;
53090-
-webkit-background-clip: text;
5309153088
}
5309253089

5309353090
.md\:bg-transparent {
@@ -78155,7 +78152,6 @@ video {
7815578152

7815678153
.lg\:bg-clip-text {
7815778154
background-clip: text;
78158-
-webkit-background-clip: text;
7815978155
}
7816078156

7816178157
.lg\:bg-transparent {
@@ -103223,7 +103219,6 @@ video {
103223103219

103224103220
.xl\:bg-clip-text {
103225103221
background-clip: text;
103226-
-webkit-background-clip: text;
103227103222
}
103228103223

103229103224
.xl\:bg-transparent {

__tests__/fixtures/tailwind-output-important.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,6 @@ video {
17811781

17821782
.bg-clip-text {
17831783
background-clip: text !important;
1784-
-webkit-background-clip: text !important;
17851784
}
17861785

17871786
.bg-transparent {
@@ -15844,7 +15843,6 @@ video {
1584415843

1584515844
.sm\:bg-clip-text {
1584615845
background-clip: text !important;
15847-
-webkit-background-clip: text !important;
1584815846
}
1584915847

1585015848
.sm\:bg-transparent {
@@ -29877,7 +29875,6 @@ video {
2987729875

2987829876
.md\:bg-clip-text {
2987929877
background-clip: text !important;
29880-
-webkit-background-clip: text !important;
2988129878
}
2988229879

2988329880
.md\:bg-transparent {
@@ -43910,7 +43907,6 @@ video {
4391043907

4391143908
.lg\:bg-clip-text {
4391243909
background-clip: text !important;
43913-
-webkit-background-clip: text !important;
4391443910
}
4391543911

4391643912
.lg\:bg-transparent {
@@ -57943,7 +57939,6 @@ video {
5794357939

5794457940
.xl\:bg-clip-text {
5794557941
background-clip: text !important;
57946-
-webkit-background-clip: text !important;
5794757942
}
5794857943

5794957944
.xl\:bg-transparent {

__tests__/fixtures/tailwind-output-no-color-opacity.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,6 @@ video {
15771577

15781578
.bg-clip-text {
15791579
background-clip: text;
1580-
-webkit-background-clip: text;
15811580
}
15821581

15831582
.bg-transparent {
@@ -13192,7 +13191,6 @@ video {
1319213191

1319313192
.sm\:bg-clip-text {
1319413193
background-clip: text;
13195-
-webkit-background-clip: text;
1319613194
}
1319713195

1319813196
.sm\:bg-transparent {
@@ -24777,7 +24775,6 @@ video {
2477724775

2477824776
.md\:bg-clip-text {
2477924777
background-clip: text;
24780-
-webkit-background-clip: text;
2478124778
}
2478224779

2478324780
.md\:bg-transparent {
@@ -36362,7 +36359,6 @@ video {
3636236359

3636336360
.lg\:bg-clip-text {
3636436361
background-clip: text;
36365-
-webkit-background-clip: text;
3636636362
}
3636736363

3636836364
.lg\:bg-transparent {
@@ -47947,7 +47943,6 @@ video {
4794747943

4794847944
.xl\:bg-clip-text {
4794947945
background-clip: text;
47950-
-webkit-background-clip: text;
4795147946
}
4795247947

4795347948
.xl\:bg-transparent {

__tests__/fixtures/tailwind-output.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,6 @@ video {
17811781

17821782
.bg-clip-text {
17831783
background-clip: text;
1784-
-webkit-background-clip: text;
17851784
}
17861785

17871786
.bg-transparent {
@@ -15844,7 +15843,6 @@ video {
1584415843

1584515844
.sm\:bg-clip-text {
1584615845
background-clip: text;
15847-
-webkit-background-clip: text;
1584815846
}
1584915847

1585015848
.sm\:bg-transparent {
@@ -29877,7 +29875,6 @@ video {
2987729875

2987829876
.md\:bg-clip-text {
2987929877
background-clip: text;
29880-
-webkit-background-clip: text;
2988129878
}
2988229879

2988329880
.md\:bg-transparent {
@@ -43910,7 +43907,6 @@ video {
4391043907

4391143908
.lg\:bg-clip-text {
4391243909
background-clip: text;
43913-
-webkit-background-clip: text;
4391443910
}
4391543911

4391643912
.lg\:bg-transparent {
@@ -57943,7 +57939,6 @@ video {
5794357939

5794457940
.xl\:bg-clip-text {
5794557941
background-clip: text;
57946-
-webkit-background-clip: text;
5794757942
}
5794857943

5794957944
.xl\:bg-transparent {

src/plugins/backgroundClip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function() {
88
...(target('display') === 'ie11'
99
? {}
1010
: {
11-
'.bg-clip-text': { 'background-clip': 'text', '-webkit-background-clip': 'text' },
11+
'.bg-clip-text': { 'background-clip': 'text' },
1212
}),
1313
},
1414
variants('backgroundClip')

0 commit comments

Comments
 (0)