@@ -161,6 +161,18 @@ test('the plugin generates some utilities and responsive variants by default', (
161
161
.ligatures-no-contextual {
162
162
font-variant-ligatures: no-contextual;
163
163
}
164
+ .text-rendering-auto {
165
+ text-rendering: auto;
166
+ }
167
+ .text-optimize-legibility {
168
+ text-rendering: optimizeLegibility;
169
+ }
170
+ .text-optimize-speed {
171
+ text-rendering: optimizeSpeed;
172
+ }
173
+ .text-geometric-precision {
174
+ text-rendering: geometricPrecision;
175
+ }
164
176
@media (min-width: 640px) {
165
177
.sm\\:ellipsis {
166
178
text-overflow: ellipsis;
@@ -288,6 +300,18 @@ test('the plugin generates some utilities and responsive variants by default', (
288
300
.sm\\:ligatures-no-contextual {
289
301
font-variant-ligatures: no-contextual;
290
302
}
303
+ .sm\\:text-rendering-auto {
304
+ text-rendering: auto;
305
+ }
306
+ .sm\\:text-optimize-legibility {
307
+ text-rendering: optimizeLegibility;
308
+ }
309
+ .sm\\:text-optimize-speed {
310
+ text-rendering: optimizeSpeed;
311
+ }
312
+ .sm\\:text-geometric-precision {
313
+ text-rendering: geometricPrecision;
314
+ }
291
315
}
292
316
` ) ;
293
317
} ) ;
@@ -299,6 +323,7 @@ test('the font variant utilities can be disabled', () => {
299
323
fontVariantCaps : { } ,
300
324
fontVariantNumeric : { } ,
301
325
fontVariantLigatures : { } ,
326
+ textRendering : { } ,
302
327
} ,
303
328
variants : {
304
329
ellipsis : [ ] ,
@@ -369,6 +394,7 @@ test('the ellipsis, hyphens, and text unset utilities can be disabled', () => {
369
394
fontVariantCaps : { } ,
370
395
fontVariantNumeric : { } ,
371
396
fontVariantLigatures : { } ,
397
+ textRendering : { } ,
372
398
} ,
373
399
} , {
374
400
ellipsis : false ,
@@ -394,6 +420,7 @@ test('the text indent and text shadow utilities can be customized', () => {
394
420
fontVariantCaps : { } ,
395
421
fontVariantNumeric : { } ,
396
422
fontVariantLigatures : { } ,
423
+ textRendering : { } ,
397
424
} ,
398
425
variants : {
399
426
textIndent : [ ] ,
@@ -441,6 +468,7 @@ test('the font variant utilities can be extended', () => {
441
468
fontVariantCaps : [ ] ,
442
469
fontVariantNumeric : [ ] ,
443
470
fontVariantLigatures : [ ] ,
471
+ textRendering : [ ] ,
444
472
} ,
445
473
} , {
446
474
ellipsis : false ,
@@ -533,6 +561,18 @@ test('the font variant utilities can be extended', () => {
533
561
.ligatures-revert {
534
562
font-variant-ligatures: revert;
535
563
}
564
+ .text-rendering-auto {
565
+ text-rendering: auto;
566
+ }
567
+ .text-optimize-legibility {
568
+ text-rendering: optimizeLegibility;
569
+ }
570
+ .text-optimize-speed {
571
+ text-rendering: optimizeSpeed;
572
+ }
573
+ .text-geometric-precision {
574
+ text-rendering: geometricPrecision;
575
+ }
536
576
` ) ;
537
577
} ) ;
538
578
} ) ;
@@ -567,6 +607,7 @@ test('text style components can be generated', () => {
567
607
fontVariantCaps : { } ,
568
608
fontVariantNumeric : { } ,
569
609
fontVariantLigatures : { } ,
610
+ textRendering : { } ,
570
611
} ,
571
612
} , {
572
613
ellipsis : false ,
@@ -608,6 +649,7 @@ test('the component prefix can be customized', () => {
608
649
fontVariantCaps : { } ,
609
650
fontVariantNumeric : { } ,
610
651
fontVariantLigatures : { } ,
652
+ textRendering : { } ,
611
653
} ,
612
654
} , {
613
655
ellipsis : false ,
@@ -663,6 +705,7 @@ test('text styles can extend other text styles', () => {
663
705
fontVariantCaps : { } ,
664
706
fontVariantNumeric : { } ,
665
707
fontVariantLigatures : { } ,
708
+ textRendering : { } ,
666
709
} ,
667
710
} , {
668
711
ellipsis : false ,
@@ -742,6 +785,7 @@ test('text styles can extend more than one other text style', () => {
742
785
fontVariantCaps : { } ,
743
786
fontVariantNumeric : { } ,
744
787
fontVariantLigatures : { } ,
788
+ textRendering : { } ,
745
789
} ,
746
790
} , {
747
791
ellipsis : false ,
@@ -838,6 +882,7 @@ test('text style components can style their children', () => {
838
882
fontVariantCaps : { } ,
839
883
fontVariantNumeric : { } ,
840
884
fontVariantLigatures : { } ,
885
+ textRendering : { } ,
841
886
} ,
842
887
} , {
843
888
ellipsis : false ,
@@ -937,6 +982,7 @@ test('text styles can be responsive', () => {
937
982
fontVariantCaps : { } ,
938
983
fontVariantNumeric : { } ,
939
984
fontVariantLigatures : { } ,
985
+ textRendering : { } ,
940
986
} ,
941
987
} , {
942
988
ellipsis : false ,
@@ -1016,6 +1062,7 @@ test('text styles can be set to not be output', () => {
1016
1062
fontVariantCaps : { } ,
1017
1063
fontVariantNumeric : { } ,
1018
1064
fontVariantLigatures : { } ,
1065
+ textRendering : { } ,
1019
1066
} ,
1020
1067
} , {
1021
1068
ellipsis : false ,
@@ -1132,6 +1179,7 @@ test('all these options can be used to generate a full-featured rich text compon
1132
1179
fontVariantCaps : { } ,
1133
1180
fontVariantNumeric : { } ,
1134
1181
fontVariantLigatures : { } ,
1182
+ textRendering : { } ,
1135
1183
} ,
1136
1184
} , {
1137
1185
ellipsis : false ,
@@ -1219,6 +1267,7 @@ test('variants can be customized', () => {
1219
1267
fontVariantCaps : [ 'focus' , 'responsive' ] ,
1220
1268
fontVariantNumeric : [ 'group-hover' ] ,
1221
1269
fontVariantLigatures : [ ] ,
1270
+ textRendering : [ ] ,
1222
1271
} ,
1223
1272
} ) . then ( css => {
1224
1273
expect ( css ) . toMatchCss ( `
@@ -1417,6 +1466,18 @@ test('variants can be customized', () => {
1417
1466
.ligatures-no-contextual {
1418
1467
font-variant-ligatures: no-contextual;
1419
1468
}
1469
+ .text-rendering-auto {
1470
+ text-rendering: auto;
1471
+ }
1472
+ .text-optimize-legibility {
1473
+ text-rendering: optimizeLegibility;
1474
+ }
1475
+ .text-optimize-speed {
1476
+ text-rendering: optimizeSpeed;
1477
+ }
1478
+ .text-geometric-precision {
1479
+ text-rendering: geometricPrecision;
1480
+ }
1420
1481
@media (min-width: 640px) {
1421
1482
.sm\\:caps-normal {
1422
1483
font-variant-caps: normal;
0 commit comments