- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Mon, 17 Dec 2018 03:41:25 +0000
- To: public-houdini-archive@w3.org
> > And what if the syntax contains quotes? How are they escaped? > > Same as everywhere else in CSS, with a backslash. Or by using a different quote type (single vs double). But, as [currently defined](https://drafts.css-houdini.org/css-properties-values-api/#supported-syntax-strings), there is no valid syntax string that contains internal quotes, unless they were escaped inside a keyword token. To represent a quoted string value, you'd use `"<string>"`. E.g., a syntax matching the `quotes` property would be declared with `syntax: "none | [ <string> <string> ]+"`. -- GitHub Notification of comment by AmeliaBR Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/137#issuecomment-447713740 using your GitHub account
Received on Monday, 17 December 2018 03:41:35 UTC