Skip to content

Commit b2e6ca7

Browse files
authored
Merge pull request w3c#401 from surma-dump/patch-01
[css-paint-api] Fix image placeholder example
2 parents b63a14e + 5f3a9e7 commit b2e6ca7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-paint-api/Overview.bs

Lines changed: 2 additions & 1 deletion
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)