Skip to content

[css-color-4] Missing info about Premultiplication and Undefined values #7536

Description

@facelessuser

In this issue (#7253) a change was made :

If the alpha value is none, the premultiplied value is the un-premultiplied value. Otherwise,

I still feel this is a good call, but it is often referred that premultiplication happens before interpolation, which it does. Still, maybe it should be mentioned that at interpolation time, if given two colors (A and B), if one of the colors has an undefined alpha (we'll say A), and the other does not (B), then when A takes on the alpha value of B, it will need to premultiply on the fly before the actual interpolation takes place. This can be inspected and done ahead of time, but I think maybe it should be mentioned.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status
Tuesday

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions