Skip to content

Commit 94dcc26

Browse files
committed
[css-properties-values-api] fix example to refer to CSS.registerProperty
rather than document.registerProperty.
1 parent 9bfc627 commit 94dcc26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-properties-values-api/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Example 1: Using custom properties to add animation behavior {#example-1}
283283

284284
<pre class='lang-markup'>
285285
&lt;script&gt;
286-
document.registerProperty({
286+
CSS.registerProperty({
287287
name: "--stop-color",
288288
syntax: "&lt;color&gt;",
289289
inherits: false,

0 commit comments

Comments
 (0)