Re: [csswg-drafts] [css-images-4] Unclear serialization for cross-fade (#9772)

> Is this for serializing the specified value or the computed value?

It doesn't say as far as I can see, so it would be good to have both specified if they are to be different.

> So I guess the serialized computed value includes those divided-equally percentages, and maybe the spec is trying to say that?

The problem is that you have two different sets of the percentages. Some values can be ignored when computing the size, but not the alpha, so there are effectively two different computed values. And if you specify something like `calc(50% + 1% * sign(1px - 1vw))`, you won't know at computed value time whether the other value should be 49%, 50% or 51%.

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


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

Received on Monday, 8 January 2024 18:03:16 UTC