[csswg-drafts] [css-images-4] image-resolution should allow different horiz/vert resolution

faceless2 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images-4] image-resolution should allow different horiz/vert resolution ==
Some images (I'm thinking in particular of TIFF type F, but it's legal in any TIFF) have different horizontal and vertical resolutions - they are either 204x196dpi  or 204x98dpi. We're going to have to handle this if we hit one of those images and specify "image-resolution: from-image" anyway, so you may as well allow this to be set manually too.

Suggest changing the value to:

```
[ from-image || <resolution> <resolution>? ] && snap?
```

and changing the text to

```
<resolution> <resolution>?
    Specifies the intrinsic resolution explicitly. A "dot" in this case corresponds to a
    single image pixel. If one value is specified it sets both the horizontal and
    vertical resolution. If two values are specified, the first sets the horizontal
    resolution and the second sets the vertical resolution.
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2482 using your GitHub account

Received on Thursday, 29 March 2018 08:32:19 UTC