@@ -219,10 +219,9 @@ Mixing Colors: the ''color-mix()'' Function {#color-mix}
219219 (an equal mix of the two colors).
220220 3. Otherwise, if <var> p2</var> is omitted, it becomes 100% - <var> p1</var>
221221 4. Otherwise, if <var> p1</var> is omitted, it becomes 100% - <var> p2</var>
222- 5. If the percentages sum to zero, the function is invalid.
223- 6. Otherwise, if both are provided and add up to greater than 100%,
222+ 5. Otherwise, if both are provided and add up to greater than 100%,
224223 they are scaled accordingly so that they add up to 100%.
225- 7 . Otherwise, if both are provided and add up to less than 100%,
224+ 6 . Otherwise, if both are provided and add up to less than 100%,
226225 the sum is saved as an alpha multiplier.
227226 They are then scaled accordingly so that they add up to 100%.
228227
@@ -231,6 +230,10 @@ Mixing Colors: the ''color-mix()'' Function {#color-mix}
231230 and
232231 <var> p2</var> becomes <var> p2</var> / (<var> p1</var> + <var> p2</var> ).
233232
233+ <!-- @@ Need to handle the sum to zero case to generate transparent black
234+ https://github.com/w3c/csswg-drafts/issues/11678#issuecomment-2686226875
235+ -->
236+
234237<wpt>
235238 color-mix-percents-01.html
236239 color-mix-percents-02.html
0 commit comments