Skip to content

Commit

Permalink
style: Fix inconsistent CRISPEDGES constant name.
Browse files Browse the repository at this point in the history
  • Loading branch information
heycam authored and emilio committed Nov 5, 2018
1 parent d43c4ce commit 52c3ba0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions components/style/properties/longhands/inherited_box.mako.rs
Expand Up @@ -59,8 +59,6 @@ ${helpers.single_keyword(
spec="https://drafts.csswg.org/css-color/#propdef-color-adjust",
)}

<% 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(
Expand All @@ -69,7 +67,6 @@ ${helpers.single_keyword(
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",
)}
Expand Down

0 comments on commit 52c3ba0

Please sign in to comment.