From 3868760379b9c1aea626ad50a634227c694dcbf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sun, 17 Sep 2017 00:56:33 +0200 Subject: [PATCH] style: Avoid unneeded need_index in font-family. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I plan to take advantage of this given this was the only property where need_index == true and is_vector == false. Signed-off-by: Emilio Cobos Álvarez --- components/style/properties/longhand/font.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/longhand/font.mako.rs b/components/style/properties/longhand/font.mako.rs index ec611a4edec..e7edbb1c0c1 100644 --- a/components/style/properties/longhand/font.mako.rs +++ b/components/style/properties/longhand/font.mako.rs @@ -68,7 +68,7 @@ macro_rules! impl_gecko_keyword_conversions { } -<%helpers:longhand name="font-family" animation_value_type="discrete" need_index="True" boxed="${product == 'gecko'}" +<%helpers:longhand name="font-family" animation_value_type="discrete" boxed="${product == 'gecko'}" flags="APPLIES_TO_FIRST_LETTER APPLIES_TO_FIRST_LINE APPLIES_TO_PLACEHOLDER" spec="https://drafts.csswg.org/css-fonts/#propdef-font-family"> use properties::longhands::system_font::SystemFont;