File tree 2 files changed +9
-7
lines changed
tests/plugins/__snapshots__
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -1539,10 +1539,11 @@ export let corePlugins = {
1539
1539
'.break-all' : { 'word-break' : 'break-all' } ,
1540
1540
'.break-keep' : { 'word-break' : 'keep-all' } ,
1541
1541
'.break-anywhere' : {
1542
- 'word-break' : 'break-word' ,
1543
1542
'@supports (overflow-wrap: anywhere)' : {
1544
1543
'overflow-wrap' : 'anywhere' ,
1545
- 'word-break' : 'normal' ,
1544
+ } ,
1545
+ '@supports not (overflow-wrap: anywhere)' : {
1546
+ 'word-break' : 'break-word' ,
1546
1547
} ,
1547
1548
} ,
1548
1549
} )
Original file line number Diff line number Diff line change @@ -19,14 +19,15 @@ exports[`should test the 'wordBreak' plugin 1`] = `
19
19
word - break : keep - all ;
20
20
}
21
21
22
- .break-anywhere {
23
- word - break : break - word ;
24
- }
25
-
26
22
@supports (overflow-wrap: anywhere) {
27
23
.break - anywhere {
28
24
overflow-wrap: anywhere ;
29
- word - break : normal ;
25
+ }
26
+ }
27
+
28
+ @supports not (overflow-wrap: anywhere) {
29
+ .break - anywhere {
30
+ word-break: break - word ;
30
31
}
31
32
}
32
33
"
You can’t perform that action at this time.
0 commit comments