Re: [csswg-drafts] [color-5] Serialization of percentages in color-mix() (#8564)

Here's [what we do](https://searchfox.org/mozilla-central/rev/82828dba9e290914eddd294a0871533875b3a0b5/servo/components/style/values/generics/color.rs#64-73) which I think is sensible. TLDR, you omit the right percentage if left + right add up to 100%, you omit both if left and right are 50% each, otherwise you omit none of them.

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


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

Received on Tuesday, 28 March 2023 16:52:37 UTC