mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
servo: Merge #16361 - Make stylo recognize -moz-crisp-edges keyword (from KuoE0:bug-1354000); r=heycam
<!-- Please describe your changes on the following line: --> See [Bug 1354000](https://bugzilla.mozilla.org/show_bug.cgi?id=1354000). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix [Bug 1354000](https://bugzilla.mozilla.org/show_bug.cgi?id=1354000) <!-- Either: --> - [X] These changes do not require tests because the they're in gecko. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: a093b0a087d45bff0bb8a7039c8bfb8ec6706442 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : f70d2a982073bf4a3376f6cc79090436666a1425
This commit is contained in:
parent
e587edf187
commit
8146f8c9e7
@ -70,13 +70,14 @@ ${helpers.single_keyword("color-adjust",
|
||||
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")}
|
||||
|
Loading…
Reference in New Issue
Block a user