Closed Bug 1496617 Opened 6 years ago Closed 6 years ago

Unprefix `image-rendering: crisp-edges`

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: e7358d9c, Assigned: heycam)

References

(Blocks 4 open bugs)

Details

(Keywords: dev-doc-complete, site-compat)

Attachments

(3 files)

Stylo already understands `image-rendering: crisp-edges`, but Firefox doesn’t support it unprefixed yet, and with bug 1457333 hiding all prefixed values from DevTools auto‑complete, I’d suggest unprefixing this.
Keywords: site-compat
Keywords: dev-doc-needed
QA Contact: svoisen
QA Contact: svoisen
WebKit also supports crisp-edges unprefixed these days, but before it did it supported a value called -webkit-optimize-contrast. Removing the prefixed version may cause some breakage given https://css-tricks.com/keep-pixelated-images-pixelated-as-they-scale/#comment-1618989 says that the Autoprefixer tool outputs -webkit-optimize-contrast but not unprefixed crisp-edges.
So how about we support the unprefixed value, leave the prefixed value in there for now, and try to remove it later.
Assignee: nobody → cam
Status: NEW → ASSIGNED
Priority: -- → P3
For now, we keep supporting the prefixed version, since there are examples/instructions on the Web that don't include an unprefixed value.
Blocks: 1503753
Pushed by cmccormack@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1cab84e74394 Part 1: Support unprefixed image-rendering:crisp-edges r=firefox-style-system-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/7e3f37db75a4 Part 2: Fix inconsistent CRISPEDGES constant name r=emilio
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Exe Boss has updated the compat data for this, and I've added a note to the Fx 65 rel notes: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/65#CSS I think we can call this DDC.

Here's hoping you can revisit pixelated which is working in Chrome and Safari but not Firefox

https://bugzilla.mozilla.org/show_bug.cgi?id=856337

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: