@@ -9452,8 +9452,8 @@ mod tests {
94529452 "@font-face{src:url(test.ttc)format(\"collection\"),url(test.ttf)format(\"truetype\")}",
94539453 );
94549454 minify_test(
9455- "@font-face {src: url(\"test.otf\") format(opentype) tech(feature -aat);}",
9456- "@font-face{src:url(test.otf)format(\"opentype\")tech(feature -aat)}",
9455+ "@font-face {src: url(\"test.otf\") format(opentype) tech(features -aat);}",
9456+ "@font-face{src:url(test.otf)format(\"opentype\")tech(features -aat)}",
94579457 );
94589458 minify_test(
94599459 "@font-face {src: url(\"test.woff\") format(woff) tech(color-colrv1);}",
@@ -9469,12 +9469,12 @@ mod tests {
94699469 );
94709470 // multiple tech
94719471 minify_test(
9472- "@font-face {src: url(\"test.woff\") format(woff) tech(feature -opentype, color-sbix);}",
9473- "@font-face{src:url(test.woff)format(\"woff\")tech(feature -opentype,color-sbix)}",
9472+ "@font-face {src: url(\"test.woff\") format(woff) tech(features -opentype, color-sbix);}",
9473+ "@font-face{src:url(test.woff)format(\"woff\")tech(features -opentype,color-sbix)}",
94749474 );
94759475 minify_test(
9476- "@font-face {src: url(\"test.woff\") format(woff) tech(incremental, color-svg, feature -graphite, feature -aat);}",
9477- "@font-face{src:url(test.woff)format(\"woff\")tech(incremental,color-svg,feature -graphite,feature -aat)}",
9476+ "@font-face {src: url(\"test.woff\") format(woff) tech(incremental, color-svg, features -graphite, features -aat);}",
9477+ "@font-face{src:url(test.woff)format(\"woff\")tech(incremental,color-svg,features -graphite,features -aat)}",
94789478 );
94799479 // format() function must precede tech() if both are present
94809480 minify_test(
@@ -9496,15 +9496,15 @@ mod tests {
94969496 // TODO(CGQAQ): make this test pass when we have strict mode
94979497 // ref: https://github.com/web-platform-tests/wpt/blob/9f8a6ccc41aa725e8f51f4f096f686313bb88d8d/css/css-fonts/parsing/font-face-src-tech.html#L45
94989498 // error_test(
9499- // "@font-face {src: url(\"foo.ttf\") tech(feature -opentype) format(opentype);}",
9499+ // "@font-face {src: url(\"foo.ttf\") tech(features -opentype) format(opentype);}",
95009500 // ParserError::AtRuleBodyInvalid,
95019501 // );
95029502 // error_test(
95039503 // "@font-face {src: url(\"foo.ttf\") tech();}",
95049504 // ParserError::AtRuleBodyInvalid,
95059505 // );
95069506 // error_test(
9507- // "@font-face {src: url(\"foo.ttf\") tech(\"feature -opentype\");}",
9507+ // "@font-face {src: url(\"foo.ttf\") tech(\"features -opentype\");}",
95089508 // ParserError::AtRuleBodyInvalid,
95099509 // );
95109510 // error_test(
0 commit comments