forked from mirrors/gecko-dev
Also, more directly go from StyleImageRendering to wr::ImageRendering. * image-rendering: smooth the non-deprecated version of OptimizeQuality, which maps to SamplingFilter::LINEAR / wr::ImageRendering::Auto (which uses gl::LINEAR). * image-rendering: pixelated maps to wr::ImageRendering::Pixelated / SamplingFilter::POINT which is the same crisp-edges does. Note that this uncovers that we were mapping image-rendering: crisp-edges to wr::ImageRendering::Pixelated. I'm going to preserve behavior on this patch but we should consider switching that to map to wr::ImageRendering::CrispEdges on a follow-up (filed bug 1728831 for this). Differential Revision: https://phabricator.services.mozilla.com/D124378 |
||
|---|---|---|
| .. | ||
| image-rendering-computed.html.ini | ||
| image-rendering-valid.html.ini | ||
| image-resolution-valid.html.ini | ||
| object-fit-computed.html.ini | ||
| object-fit-valid.html.ini | ||