w3c / css-houdini-drafts

Mirror of https://hg.css-houdini.org/drafts

Home Page:https://drafts.css-houdini.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[css-properties-values-api] Add <string> as a supported syntax name

lilles opened this issue · comments

We should add "<string>" as a valid syntax for custom property registration:

https://www.w3.org/TR/css-properties-values-api-1/#supported-names

Chrome got a bug report that "<string>" was expected to work for registered custom properties to be used in the content property.

@andruud @tabatkins does that sound good?

Oh, huh, that's a weird omission. Yes, absolutely we should allow strings.

For reference, Mozilla already added parsing <string> today.

Sebastian