From f80690fa41b0bc5d8d34ff8a3ecd612312b84a2e Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 11 May 2017 14:57:33 -0700 Subject: [PATCH] font-variant-caps should accept all-small-caps and all-petite-caps --- components/style/properties/longhand/font.mako.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/style/properties/longhand/font.mako.rs b/components/style/properties/longhand/font.mako.rs index f83757fb5e8..723d657abe2 100644 --- a/components/style/properties/longhand/font.mako.rs +++ b/components/style/properties/longhand/font.mako.rs @@ -337,14 +337,14 @@ ${helpers.single_keyword_system("font-style", <% font_variant_caps_custom_consts= { "small-caps": "SMALLCAPS", - "all-small": "ALLSMALL", + "all-small-caps": "ALLSMALL", "petite-caps": "PETITECAPS", - "all-petite": "ALLPETITE", + "all-petite-caps": "ALLPETITE", "titling-caps": "TITLING" } %> ${helpers.single_keyword_system("font-variant-caps", "normal small-caps", - extra_gecko_values="all-small petite-caps unicase titling-caps", + extra_gecko_values="all-small-caps petite-caps all-petite-caps unicase titling-caps", gecko_constant_prefix="NS_FONT_VARIANT_CAPS", gecko_ffi_name="mFont.variantCaps", spec="https://drafts.csswg.org/css-fonts/#propdef-font-variant-caps",