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

Proposed follow-up async resolution: `The 'syntax' descriptor always returns the serialization of the syntax definition`.

- Note: We resolved in https://github.com/w3c/csswg-drafts/issues/12258 that attributes should generally return serialized CSS as opposed to returning internally-held values directly. I think the proposed resolution is aligned with that.
- Note: There is a theoretical web compat risk here, but as far as I can tell it would only affect whitespace. I suggest that we assume that this is an acceptable change, and I'll report back here if an investigation shows otherwise.

Related links:

- The `syntax` descriptor: https://drafts.css-houdini.org/css-properties-values-api-1/#dom-csspropertyrule-syntax
- The term "syntax definition": https://drafts.css-houdini.org/css-properties-values-api-1/#syntax-definition

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


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

Received on Tuesday, 16 December 2025 11:19:15 UTC