From c78fd3a0ce75969f79d5d51e46a0639b9f9b5251 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Thu, 4 May 2017 14:25:47 +0200 Subject: [PATCH] Implement -moz-osx-font-smoothing --- components/style/properties/longhand/font.mako.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/style/properties/longhand/font.mako.rs b/components/style/properties/longhand/font.mako.rs index 842b3279d90..b3811956194 100644 --- a/components/style/properties/longhand/font.mako.rs +++ b/components/style/properties/longhand/font.mako.rs @@ -2414,3 +2414,12 @@ ${helpers.single_keyword("-moz-math-variant", } } % endif + +${helpers.single_keyword("-moz-osx-font-smoothing", + "auto grayscale", + gecko_constant_prefix="NS_FONT_SMOOTHING", + gecko_ffi_name="mFont.smoothing", + products="gecko", + spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth)", + animation_value_type="none", + need_clone=True)}