We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00fd5f7 commit be5b174Copy full SHA for be5b174
1 file changed
css-color-5/Overview.bs
@@ -130,7 +130,8 @@ Mixing colors: the ''color-mix()'' function {#color-mix}
130
2. If both percentages are omitted, they each default to 50% (an equal mix of the two colors).
131
3. Otherwise, if <var>p2</var> is omitted, it becomes 100% - <var>p1</var>
132
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%,
+ 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%,
135
they are scaled accordingly so that they add up to 100%.
136
This means that
137
<var>p1</var> becomes <var>p1</var> / (<var>p1</var> + <var>p2</var>)
0 commit comments