Skip to content

Commit d253095

Browse files
committed
[css-images] Resolved w3c#461
1 parent ff44bed commit d253095

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css-images/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,11 @@ Resolution Negotiation: the ''image-set()'' notation {#image-set-notation}
131131

132132
<pre class='prod'>
133133
<dfn caniuse="css-image-set">image-set()</dfn> = image-set( <<image-set-option>># )
134-
<dfn>&lt;image-set-option></dfn> = [ <<image>> | <<string>> ] <<resolution>>
134+
<dfn>&lt;image-set-option></dfn> = [ <<image>> | <<string>> ] [ <<resolution>> | <<x-resolution>> ]
135135
</pre>
136136

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+
137139
Issue: We should add "w" and "h" dimensions as a possibility, and a "format()" function,
138140
to match the functionality of HTML's <a element>picture</a>.
139141

0 commit comments

Comments
 (0)