Skip to content

Commit 812cef0

Browse files
authored
[css-images-4] Fix format() typo in image-set() (w3c#7806)
1 parent cd83f85 commit 812cef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-images-4/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Resolution/Type Negotiation: the ''image-set()'' notation {#image-set-notation}
234234
(This has no effect on the validity of the ''image-set()'' function.)
235235

236236
It does not have any effect on the image itself;
237-
an <<image-set-option>> like <code highlight=css>url("picture.png") 1x format("image/jpeg")</code> is valid,
237+
an <<image-set-option>> like <code highlight=css>url("picture.png") 1x type("image/jpeg")</code> is valid,
238238
and if chosen will display the linked PNG image,
239239
even though it was declared to be a JPEG.
240240

0 commit comments

Comments
 (0)