mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: followup - revert the serialization change, and instead fix the test to expect lowercase
Differential Revision: https://phabricator.services.mozilla.com/D164219
This commit is contained in:
parent
e7dc4a47cb
commit
6a6658801f
1 changed files with 4 additions and 6 deletions
|
@ -189,16 +189,14 @@ impl ToCss for FontFaceSourceTechFlags {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Being CSS keywords, these are ASCII-case-insensitive; but we serialize
|
|
||||||
// as mixed-case to match how they're listed in the spec.
|
|
||||||
write_if_flag!("features-opentype" => FEATURES_OPENTYPE);
|
write_if_flag!("features-opentype" => FEATURES_OPENTYPE);
|
||||||
write_if_flag!("features-aat" => FEATURES_AAT);
|
write_if_flag!("features-aat" => FEATURES_AAT);
|
||||||
write_if_flag!("features-graphite" => FEATURES_GRAPHITE);
|
write_if_flag!("features-graphite" => FEATURES_GRAPHITE);
|
||||||
write_if_flag!("color-COLRv0" => COLOR_COLRV0);
|
write_if_flag!("color-colrv0" => COLOR_COLRV0);
|
||||||
write_if_flag!("color-COLRv1" => COLOR_COLRV1);
|
write_if_flag!("color-colrv1" => COLOR_COLRV1);
|
||||||
write_if_flag!("color-SVG" => COLOR_SVG);
|
write_if_flag!("color-svg" => COLOR_SVG);
|
||||||
write_if_flag!("color-sbix" => COLOR_SBIX);
|
write_if_flag!("color-sbix" => COLOR_SBIX);
|
||||||
write_if_flag!("color-CBDT" => COLOR_CBDT);
|
write_if_flag!("color-cbdt" => COLOR_CBDT);
|
||||||
write_if_flag!("variations" => VARIATIONS);
|
write_if_flag!("variations" => VARIATIONS);
|
||||||
write_if_flag!("palettes" => PALETTES);
|
write_if_flag!("palettes" => PALETTES);
|
||||||
write_if_flag!("incremental" => INCREMENTAL);
|
write_if_flag!("incremental" => INCREMENTAL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue