From d43c4ce81e25f0f55a940a74822f3dc78745b6a3 Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Thu, 1 Nov 2018 01:35:26 +0000 Subject: [PATCH] style: Support unprefixed image-rendering: crisp-edges. For now, we keep supporting the prefixed version, since there are examples/instructions on the Web that don't include an unprefixed value. Differential Revision: https://phabricator.services.mozilla.com/D10451 --- .../style/properties/longhands/inherited_box.mako.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/style/properties/longhands/inherited_box.mako.rs b/components/style/properties/longhands/inherited_box.mako.rs index d810ec3d29a..2b49e0ca55c 100644 --- a/components/style/properties/longhands/inherited_box.mako.rs +++ b/components/style/properties/longhands/inherited_box.mako.rs @@ -65,9 +65,10 @@ ${helpers.single_keyword( // And, firefox doesn't support `pixelated` yet (https://bugzilla.mozilla.org/show_bug.cgi?id=856337) ${helpers.single_keyword( "image-rendering", - "auto", - extra_gecko_values="optimizespeed optimizequality -moz-crisp-edges", - extra_servo_values="pixelated crisp-edges", + "auto crisp-edges", + extra_gecko_values="optimizespeed optimizequality", + extra_servo_values="pixelated", + extra_gecko_aliases="-moz-crisp-edges=crisp-edges", custom_consts=image_rendering_custom_consts, animation_value_type="discrete", spec="https://drafts.csswg.org/css-images/#propdef-image-rendering",