mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Make stylo recognize -moz-crisp-edges keyword.
MozReview-Commit-ID: GZyvkN4HAqT
This commit is contained in:
parent
d77d752990
commit
fdbf0f2aaf
1 changed files with 5 additions and 4 deletions
|
@ -70,13 +70,14 @@ ${helpers.single_keyword("color-adjust",
|
||||||
animation_type="none",
|
animation_type="none",
|
||||||
spec="https://drafts.csswg.org/css-color/#propdef-color-adjust")}
|
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`
|
// 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)
|
// And, firefox doesn't support `pixelated` yet (https://bugzilla.mozilla.org/show_bug.cgi?id=856337)
|
||||||
${helpers.single_keyword("image-rendering",
|
${helpers.single_keyword("image-rendering",
|
||||||
"auto crisp-edges",
|
"auto",
|
||||||
extra_gecko_values="optimizespeed optimizequality",
|
extra_gecko_values="optimizespeed optimizequality -moz-crisp-edges",
|
||||||
extra_servo_values="pixelated",
|
extra_servo_values="pixelated crisp-edges",
|
||||||
custom_consts=image_rendering_custom_consts,
|
custom_consts=image_rendering_custom_consts,
|
||||||
animation_type="none",
|
animation_type="none",
|
||||||
spec="https://drafts.csswg.org/css-images/#propdef-image-rendering")}
|
spec="https://drafts.csswg.org/css-images/#propdef-image-rendering")}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue