@@ -152,6 +152,18 @@ test('the plugin generates some utilities and responsive variants by default', (
152
152
.ligatures-no-contextual {
153
153
font-variant-ligatures: no-contextual;
154
154
}
155
+ .text-rendering-auto {
156
+ text-rendering: auto;
157
+ }
158
+ .text-optimize-legibility {
159
+ text-rendering: optimizeLegibility;
160
+ }
161
+ .text-optimize-speed {
162
+ text-rendering: optimizeSpeed;
163
+ }
164
+ .text-geometric-precision {
165
+ text-rendering: geometricPrecision;
166
+ }
155
167
@media (min-width: 640px) {
156
168
.sm\\:ellipsis {
157
169
text-overflow: ellipsis;
@@ -270,6 +282,18 @@ test('the plugin generates some utilities and responsive variants by default', (
270
282
.sm\\:ligatures-no-contextual {
271
283
font-variant-ligatures: no-contextual;
272
284
}
285
+ .sm\\:text-rendering-auto {
286
+ text-rendering: auto;
287
+ }
288
+ .sm\\:text-optimize-legibility {
289
+ text-rendering: optimizeLegibility;
290
+ }
291
+ .sm\\:text-optimize-speed {
292
+ text-rendering: optimizeSpeed;
293
+ }
294
+ .sm\\:text-geometric-precision {
295
+ text-rendering: geometricPrecision;
296
+ }
273
297
}
274
298
` ) ;
275
299
} ) ;
@@ -281,6 +305,7 @@ test('the font variant utilities can be disabled', () => {
281
305
fontVariantCaps : { } ,
282
306
fontVariantNumeric : { } ,
283
307
fontVariantLigatures : { } ,
308
+ textRendering : { } ,
284
309
} ,
285
310
variants : {
286
311
ellipsis : [ ] ,
@@ -341,6 +366,7 @@ test('the ellipsis, hyphens, and text unset utilities can be disabled', () => {
341
366
fontVariantCaps : { } ,
342
367
fontVariantNumeric : { } ,
343
368
fontVariantLigatures : { } ,
369
+ textRendering : { } ,
344
370
} ,
345
371
} , {
346
372
ellipsis : false ,
@@ -365,6 +391,7 @@ test('the text indent and text shadow utilities can be customized', () => {
365
391
fontVariantCaps : { } ,
366
392
fontVariantNumeric : { } ,
367
393
fontVariantLigatures : { } ,
394
+ textRendering : { } ,
368
395
} ,
369
396
variants : {
370
397
textIndent : [ ] ,
@@ -411,6 +438,7 @@ test('the font variant utilities can be extended', () => {
411
438
fontVariantCaps : [ ] ,
412
439
fontVariantNumeric : [ ] ,
413
440
fontVariantLigatures : [ ] ,
441
+ textRendering : [ ] ,
414
442
} ,
415
443
} , {
416
444
ellipsis : false ,
@@ -502,6 +530,18 @@ test('the font variant utilities can be extended', () => {
502
530
.ligatures-revert {
503
531
font-variant-ligatures: revert;
504
532
}
533
+ .text-rendering-auto {
534
+ text-rendering: auto;
535
+ }
536
+ .text-optimize-legibility {
537
+ text-rendering: optimizeLegibility;
538
+ }
539
+ .text-optimize-speed {
540
+ text-rendering: optimizeSpeed;
541
+ }
542
+ .text-geometric-precision {
543
+ text-rendering: geometricPrecision;
544
+ }
505
545
` ) ;
506
546
} ) ;
507
547
} ) ;
@@ -536,6 +576,7 @@ test('text style components can be generated', () => {
536
576
fontVariantCaps : { } ,
537
577
fontVariantNumeric : { } ,
538
578
fontVariantLigatures : { } ,
579
+ textRendering : { } ,
539
580
} ,
540
581
} , {
541
582
ellipsis : false ,
@@ -576,6 +617,7 @@ test('the component prefix can be customized', () => {
576
617
fontVariantCaps : { } ,
577
618
fontVariantNumeric : { } ,
578
619
fontVariantLigatures : { } ,
620
+ textRendering : { } ,
579
621
} ,
580
622
} , {
581
623
ellipsis : false ,
@@ -630,6 +672,7 @@ test('text styles can extend other text styles', () => {
630
672
fontVariantCaps : { } ,
631
673
fontVariantNumeric : { } ,
632
674
fontVariantLigatures : { } ,
675
+ textRendering : { } ,
633
676
} ,
634
677
} , {
635
678
ellipsis : false ,
@@ -708,6 +751,7 @@ test('text styles can extend more than one other text style', () => {
708
751
fontVariantCaps : { } ,
709
752
fontVariantNumeric : { } ,
710
753
fontVariantLigatures : { } ,
754
+ textRendering : { } ,
711
755
} ,
712
756
} , {
713
757
ellipsis : false ,
@@ -803,6 +847,7 @@ test('text style components can style their children', () => {
803
847
fontVariantCaps : { } ,
804
848
fontVariantNumeric : { } ,
805
849
fontVariantLigatures : { } ,
850
+ textRendering : { } ,
806
851
} ,
807
852
} , {
808
853
ellipsis : false ,
@@ -901,6 +946,7 @@ test('text styles can be responsive', () => {
901
946
fontVariantCaps : { } ,
902
947
fontVariantNumeric : { } ,
903
948
fontVariantLigatures : { } ,
949
+ textRendering : { } ,
904
950
} ,
905
951
} , {
906
952
ellipsis : false ,
@@ -979,6 +1025,7 @@ test('text styles can be set to not be output', () => {
979
1025
fontVariantCaps : { } ,
980
1026
fontVariantNumeric : { } ,
981
1027
fontVariantLigatures : { } ,
1028
+ textRendering : { } ,
982
1029
} ,
983
1030
} , {
984
1031
ellipsis : false ,
@@ -1094,6 +1141,7 @@ test('all these options can be used to generate a full-featured rich text compon
1094
1141
fontVariantCaps : { } ,
1095
1142
fontVariantNumeric : { } ,
1096
1143
fontVariantLigatures : { } ,
1144
+ textRendering : { } ,
1097
1145
} ,
1098
1146
} , {
1099
1147
ellipsis : false ,
@@ -1179,6 +1227,7 @@ test('variants can be customized', () => {
1179
1227
fontVariantCaps : [ 'focus' , 'responsive' ] ,
1180
1228
fontVariantNumeric : [ 'group-hover' ] ,
1181
1229
fontVariantLigatures : [ ] ,
1230
+ textRendering : [ ] ,
1182
1231
} ,
1183
1232
} ) . then ( css => {
1184
1233
expect ( css ) . toMatchCss ( `
@@ -1359,6 +1408,18 @@ test('variants can be customized', () => {
1359
1408
.ligatures-no-contextual {
1360
1409
font-variant-ligatures: no-contextual;
1361
1410
}
1411
+ .text-rendering-auto {
1412
+ text-rendering: auto;
1413
+ }
1414
+ .text-optimize-legibility {
1415
+ text-rendering: optimizeLegibility;
1416
+ }
1417
+ .text-optimize-speed {
1418
+ text-rendering: optimizeSpeed;
1419
+ }
1420
+ .text-geometric-precision {
1421
+ text-rendering: geometricPrecision;
1422
+ }
1362
1423
@media (min-width: 640px) {
1363
1424
.sm\\:caps-normal {
1364
1425
font-variant-caps: normal;
0 commit comments