Bug 1354000 - (Part 1) Make stylo recognize -moz-crisp-edges keyword.
MozReview-Commit-ID: GZyvkN4HAqT
--- a/servo/components/style/properties/longhand/inherited_box.mako.rs
+++ b/servo/components/style/properties/longhand/inherited_box.mako.rs
@@ -65,23 +65,24 @@
// CSS Color Module Level 4
// https://drafts.csswg.org/css-color/
${helpers.single_keyword("color-adjust",
"economy exact", products="gecko",
animation_type="none",
spec="https://drafts.csswg.org/css-color/#propdef-color-adjust")}
-<% image_rendering_custom_consts = { "crisp-edges": "CRISPEDGES" } %>
+<% image_rendering_custom_consts = { "crisp-edges": "CRISPEDGES",
+ "-moz-crisp-edges": "CRISPEDGES" } %>
// According to to CSS-IMAGES-3, `optimizespeed` and `optimizequality` are synonyms for `auto`
// And, firefox doesn't support `pixelated` yet (https://bugzilla.mozilla.org/show_bug.cgi?id=856337)
${helpers.single_keyword("image-rendering",
- "auto crisp-edges",
- extra_gecko_values="optimizespeed optimizequality",
- extra_servo_values="pixelated",
+ "auto",
+ extra_gecko_values="optimizespeed optimizequality -moz-crisp-edges",
+ extra_servo_values="pixelated crisp-edges",
custom_consts=image_rendering_custom_consts,
animation_type="none",
spec="https://drafts.csswg.org/css-images/#propdef-image-rendering")}
// Image Orientation
<%helpers:longhand name="image-orientation"
products="None"
animation_type="none"