- From: Roman Dvornov via GitHub <sysbot+gh@w3.org>
- Date: Sun, 11 Sep 2016 18:09:08 +0000
- To: public-css-archive@w3.org
lahmatiy has just created a new issue for
https://github.com/w3c/csswg-drafts:
== [css-images] Clarification about `Nx` as <resolution> value in
image-set() is needed ==
Current syntax for `image-set()` is:
```
image-set() = image-set( <image-set-option># )
<image-set-option> = [ <image> | <string> ] <resolution>
```
Where
[`<resolution>`](https://drafts.csswg.org/css-values-3/#resolution-value)
refers to `CSS Values and Units Module Level 3` where it described as
dimension with `dpi`, `dpcm` or `dppx` unit. However in example below
we can see (that even works in some browsers):
```
background-image: image-set( "foo.png" 1x,
"foo-2x.png" 2x,
"foo-print.png" 600dpi );
```
I can't find reference where it says that dimension with `x` unit can
be used as `<resolution>`. Looks like this is `image-set()` specific
or I'm wrong. In any case, clarification is needed here.
Please view or discuss this issue at
https://github.com/w3c/csswg-drafts/issues/461 using your GitHub
account
Received on Sunday, 11 September 2016 18:09:15 UTC