servo: Merge #13724 - font_variant_position (from NamsooCho:font_variant_position); r=Manishearth
authorNamSoo Cho <joe@NamSooui-MacBook-Pro.local>
Wed, 12 Oct 2016 20:05:11 -0500
changeset 386547 7667b6c1480a4931f424b982fa767360090c6bde
parent 386546 9c339f7972bad5b87662d79c3612ec644c142cd4
child 386548 1772a7cd220095aa288f5093d93b07343fb087e1
push id7198
push userjlorenzo@mozilla.com
push dateTue, 18 Apr 2017 12:07:49 +0000
treeherdermozilla-beta@d57aa49c3948 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersManishearth
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
servo/components/style/properties/longhand/font.mako.rs
--- 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)}
+