зеркало из https://github.com/mozilla/gecko-dev.git
1cdf344860
This should be mostly straight-forward, since we have code for this anyways for image-set() and srcset. The only thing is that we were using floats for resolution, but since EXIF allows you to scale each axis separately, we now need to pass an image::Resolution instead. The main outstanding issue is the spec comment mentioned in the previous patch, about what happens if you have srcset/image-set and the image density specified together. For now I've implemented what the image-set() spec says, but this is subject to change before shipping of course. Differential Revision: https://phabricator.services.mozilla.com/D113265 |
||
---|---|---|
.. | ||
components | ||
ports/geckolib | ||
tests/unit | ||
moz.build | ||
rustfmt.toml |