Skip to content

Commit b498732

Browse files
committed
[css-color-5] Fix bikeshed fatal error.
1 parent 284cfc6 commit b498732

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-color-5/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@ in a linear-light-intensity space.
121121
Arguments are normalized as follows:
122122

123123
1. When a percentage is specified without any [=color-adjuster=]s,
124-
it is expanded to all adjusters available for the given [=colorspace=] plus alpha.
124+
it is expanded to all adjusters available for the given [=colorspace=] plus alpha.
125125
2. If a percentage is omitted and there are no adjusters present on any color arguments,
126-
it defaults to 50% (an equal mix of the two colors).
126+
it defaults to 50% (an equal mix of the two colors).
127127
3. Adjusters that are not present on a color default to 0% (i.e. the corresponding components are taken from the other color).
128128
4. Adjusters that are only present on one of the colors default to <code>100% - <i>p</i></code> on the second color,
129-
where <i>p</i> is the percentage of the corresponding adjuster in the other color.
129+
where <i>p</i> is the percentage of the corresponding adjuster in the other color.
130130
5. If the sum of corresponding adjusters across all colors is not 100%, percentages are scaled proportionally so that the sum is exactly 100%.
131131

132132
Issue: Do missing adjusters default to 0% everywhere, or only in the second color?

0 commit comments

Comments
 (0)