Skip to content

Commit be5b174

Browse files
committed
[css-color-5] sum to zero needs to be handled
1 parent 00fd5f7 commit be5b174

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

css-color-5/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ Mixing colors: the ''color-mix()'' function {#color-mix}
130130
2. If both percentages are omitted, they each default to 50% (an equal mix of the two colors).
131131
3. Otherwise, if <var>p2</var> is omitted, it becomes 100% - <var>p1</var>
132132
4. Otherwise, if <var>p1</var> is omitted, it becomes 100% - <var>p2</var>
133-
5. Otherwise, if both are provided but do not add up to 100%,
133+
5. If the percentages sum to zero <em>do something, tbd</em>
134+
6. Otherwise, if both are provided but do not add up to 100%,
134135
they are scaled accordingly so that they add up to 100%.
135136
This means that
136137
<var>p1</var> becomes <var>p1</var> / (<var>p1</var> + <var>p2</var>)

0 commit comments

Comments
 (0)