Re: [csswg-drafts] [css-properties-values-api] Allow `<syntax>` production in `syntax` descriptor (#11426)

@astearns We should define `serialize a <syntax>` next to [`parsing as <syntax>`](https://drafts.csswg.org/css-values-5/#parse-syntax), then let the `syntax` descriptor return `serialize a <syntax>` regardless of how the syntax was originally provided by the author.

> noting that WPT currently expects it to serialize with _exactly_ the same `<string>`

We _can_ easily maintain that if needed (when it's provided as a string in the first place), but I would prefer to only do that if _absolutely required_ by web compat (seems unlikely).

To avoid overloading `Agenda+` even more than it is already, I could propose a _second_ async resolution for this after the current labels are removed. That means things happen sequentially, but this is also not suddenly urgent.

-- 
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11426#issuecomment-3645969609 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 12 December 2025 10:50:17 UTC