Skip to content

Commit 5f3a9e7

Browse files
committed
Fix image placeholder example
1 parent b63a14e commit 5f3a9e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-paint-api/Overview.bs

+2-1
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,8 @@ loaded.
770770
<script>
771771
CSS.registerProperty({
772772
name: '--image',
773-
syntax: '<image>'
773+
syntax: '<image> | none',
774+
initialValue: 'none',
774775
});
775776
CSS.paintWorklet.addModule('image-placeholder.js');
776777
</script>

0 commit comments

Comments
 (0)