Bug 269971

Summary: Preserve whitespace when serializing custom properties
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/44746
Bug Depends on:    
Bug Blocks: 246605    

Antti Koivisto
Reported 2024-02-22 22:52:35 PST
"Specified values of custom properties 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." https://drafts.csswg.org/css-variables-2/#serializing-custom-props
Attachments
Radar WebKit Bug Importer
Comment 1 2024-02-22 22:53:07 PST
Antti Koivisto
Comment 2 2024-02-22 22:57:21 PST
EWS
Comment 3 2024-02-23 05:43:18 PST
Committed 275236@main (262c7e61cab2): <https://commits.webkit.org/275236@main> Reviewed commits have been landed. Closing PR #24999 and removing active labels.
Antti Koivisto
Comment 4 2024-02-23 07:32:56 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/44746
Note You need to log in before you can comment on or make changes to this bug.