File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -271,12 +271,13 @@ Mixing Colors: the ''color-mix()'' Function {#color-mix}
271271 To <dfn export>calculate a color-mix()</dfn> :
272272
273273 1. [=Normalize mix percentages=] from the list of [=mix items=] passed to the function,
274+ with the "forced normalization" flag set to true,
274275 letting |items| and |leftover| be the result.
275- 2. Let |alpha mult| be <code> 1 - |leftover|</code> ,
276- interpreting |leftover| as a number between 0 and 1.
277- 3. If |alpha mult| is 0,
276+ 2. If |leftover| is 100%,
278277 return [=transparent black=] ,
279278 converted to the specified interpolation <<color-space>> .
279+ 3. Let |alpha mult| be <code> 1 - |leftover|</code> ,
280+ interpreting |leftover| as a number between 0 and 1.
280281 4. If |items| is length 1,
281282 set |color| to the color of that sole item.
282283
You can’t perform that action at this time.
0 commit comments