servo: Merge
#13724 - font_variant_position (from NamsooCho:font_variant_position); r=Manishearth
<!-- Please describe your changes on the following line: -->
added 'font-variant-position' property to font.mako-rs
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix
#13669 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Source-Repo:
https://github.com/servo/servo
Source-Revision:
46fe1c320d8a34b83e236e2c4bdb6dc1576ec1d5
--- a/servo/components/style/properties/longhand/font.mako.rs
+++ b/servo/components/style/properties/longhand/font.mako.rs
@@ -348,8 +348,16 @@
semi-condensed semi-expanded expanded extra-expanded \
ultra-expanded",
animatable=False)}
${helpers.single_keyword("font-kerning",
"auto none normal",
products="gecko",
animatable=False)}
+
+${helpers.single_keyword("font-variant-position",
+ "normal sub super",
+ products="gecko",
+ gecko_ffi_name="mFont.variantPosition",
+ gecko_constant_prefix="NS_FONT_VARIANT_POSITION",
+ animatable=False)}
+