https://drafts.css-houdini.org/css-properties-values-api-1/#consume-syntax-component:
When you hit a name-start code point:
If the stream starts with an identifier, reconsume the current input code point from stream then consume a name from stream, and set component’s name to the returned <ident-token>’s value. Otherwise return failure.
Per #259, I assume that it should match <custom-ident>. Blink does throw for this:
CSS.registerProperty({ name: "--bar", syntax: "inherit", inherits: false, })
cc @andruud @tabatkins
https://drafts.css-houdini.org/css-properties-values-api-1/#consume-syntax-component:
When you hit a
name-start code point:Per #259, I assume that it should match
<custom-ident>. Blink does throw for this:cc @andruud @tabatkins