gecko-dev/servo/ports/geckolib
Emilio Cobos Álvarez 1cdf344860 Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel
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
2021-05-05 09:41:24 +00:00
..
tests Bug 1647845 Part 2 - Add page-size attribute to nsStyleStruct and property parsing r=emilio 2021-03-22 19:08:59 +00:00
Cargo.toml Bug 1661961 - Upgrade cstr to 0.2.x. r=emilio 2020-12-07 08:01:04 +00:00
cbindgen.toml Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel 2021-05-05 09:41:24 +00:00
error_reporter.rs Bug 1704179 - Add a CSS error to the console when using non-featureless :host selectors. r=boris 2021-04-15 09:33:58 +00:00
glue.rs Bug 1698495 - Add the size-adjust descriptor to the style system. r=emilio 2021-03-29 21:14:43 +00:00
lib.rs
stylesheet_loader.rs Bug 1678881 - Run latest rustfmt in servo/. r=xidorn 2020-11-22 00:41:29 +00:00