We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a89411b + d253095 commit 567ff60Copy full SHA for 567ff60
1 file changed
css-images/Overview.bs
@@ -131,9 +131,11 @@ Resolution Negotiation: the ''image-set()'' notation {#image-set-notation}
131
132
<pre class='prod'>
133
<dfn caniuse="css-image-set">image-set()</dfn> = image-set( <<image-set-option>># )
134
- <dfn><image-set-option></dfn> = [ <<image>> | <<string>> ] <<resolution>>
+ <dfn><image-set-option></dfn> = [ <<image>> | <<string>> ] [ <<resolution>> | <<x-resolution>> ]
135
</pre>
136
137
+ <dfn><<x-resolution>></dfn> is a <<dimension-token>> with a unit of <css>x</css>, and is treated the same as if the unit were ''dppx''.
138
+
139
Issue: We should add "w" and "h" dimensions as a possibility, and a "format()" function,
140
to match the functionality of HTML's <a element>picture</a>.
141
0 commit comments