Re: [csswg-drafts] [css-syntax] Tokenizer and whitespace concatenation (#10640)

Custom properties are special in that they *must*, rather than *may*, preserve whitespace in serialization. https://www.w3.org/TR/css-variables-1/#serializing-custom-props:

> Specified values of [custom properties](https://www.w3.org/TR/css-variables-1/#custom-property) must be serialized exactly as specified by the author. Simplifications that might occur in other properties, such as dropping comments, normalizing whitespace, reserializing numeric tokens from their value, etc., must not occur.

Are there any test cases that depend on whitespace-preserving behavior for non-custom properties?

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


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

Received on Monday, 29 July 2024 20:33:12 UTC