Skip to content

Commit 00fd5f7

Browse files
committed
[css-color-5] order of operations, see w3c#6047
1 parent a918124 commit 00fd5f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-color-5/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ Mixing colors: the ''color-mix()'' function {#color-mix}
133133
5. Otherwise, if both are provided but do not add up to 100%,
134134
they are scaled accordingly so that they add up to 100%.
135135
This means that
136-
<var>p1</var> becomes <var>p1</var> / <var>p1</var> + <var>p2</var>
136+
<var>p1</var> becomes <var>p1</var> / (<var>p1</var> + <var>p2</var>)
137137
and
138-
<var>p2</var> becomes <var>p2</var> / <var>p1</var> + <var>p2</var>.
138+
<var>p2</var> becomes <var>p2</var> / (<var>p1</var> + <var>p2</var>).
139139

140140
Issue: Should we handle p1 + p2 &lt; 100% differently? E.g. a mix with `transparent`?
141141

0 commit comments

Comments
 (0)