[css-houdini-drafts] [css-properties-values-api] Consume a component name presumably shouldn't allow CSS wide keywords, but it does. (#879)

emilio has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-properties-values-api] Consume a component name presumably shouldn't allow CSS wide keywords, but it does. ==
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 https://github.com/w3c/css-houdini-drafts/issues/259, I assume that it should match `<custom-ident>`. Blink does throw for this:

```js
CSS.registerProperty({ name: "--bar", syntax: "inherit", inherits: false, })
```

cc @andruud @tabatkins 

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/879 using your GitHub account

Received on Monday, 29 April 2019 16:41:52 UTC