| Summary: | Determine when calc() should be preserved for specified value serialization | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Sam Weinig
2023-01-09 09:21:11 PST
Created attachment 464424 [details]
Test
Filed https://github.com/w3c/csswg-drafts/issues/8290 to track the issue with the WG. So the answer is we should always be preserving calc() in the specified values, and our behavior for colors in the test case is wrong. In practice this means we should be really remove all of the "Raw" helpers in the CSS property parser and ensure we have mechanisms to preserve calc in the respective CSSValue types. |