[css-color-4] Should premultiplied undefined alpha make other color components undefined? #7253
Labels
Closed Accepted as Obvious Bugfix
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-color-4
Current Work
Reading over the spec, it seems that if the alpha component is
none
, that all the associated color components will also becomenone
. This seems unintuitive (at least to me). To me, it would seem that premultiplication should not be performed if alpha isnone
:I guess, what I expected to happen was for it to behave as if premultiplied was disabled, because how can you premultiply if you don't know by what to premultiply? This would just take alpha out of the calculation.
There may be reasons for this, but I am curious if there is something driving this decision, or if maybe it just wasn't considered.
The text was updated successfully, but these errors were encountered: