@@ -2268,10 +2268,10 @@ <h3 id=color-stop-syntax><span class=secno>5.5. </span> Gradient
22682268 Color-Stops</ h3 >
22692269
22702270 < pre class =prod > < dfn
2271- id =color-stop-type > <color-stop> </ dfn > = <color> [ <percentage> | <length> ]? </ pre >
2271+ id =color-stop-type > <color-stop> </ dfn > = <color> [ <percentage> | <length> ]{0,2} </ pre >
22722272
22732273 < pre class =prod > < dfn
2274- id =angular-color-stop-type > <angular-color-stop> </ dfn > = <color> [ <percentage> | <angle> ]? </ pre >
2274+ id =angular-color-stop-type > <angular-color-stop> </ dfn > = <color> [ <percentage> | <angle> ]{0,2} </ pre >
22752275
22762276 < p > Color-stops are points placed along the < a
22772277 href ="#gradient-line "> < i > gradient line</ i > </ a > defined by the gradient
@@ -2285,6 +2285,14 @@ <h3 id=color-stop-syntax><span class=secno>5.5. </span> Gradient
22852285 gradient line extends infinitely in both directions, and a color-stop can
22862286 be placed at any position on the line.
22872287
2288+ < p > A color-stop with two locations is exactly equivalent to specifying two
2289+ color-stops with the same color, one at each location, including how it
2290+ reacts to the clean-up steps below. < span class =note > Specifying two
2291+ locations makes it easier to create solid-color "stripes" in a gradient,
2292+ without having to repeat the color twice.</ span >
2293+
2294+ < p class =issue > Make sure this is handled well in the serialization rules.
2295+
22882296 < p > At each color-stop, the line is the color of the color-stop. Between
22892297 two color-stops, the line's color is linearly interpolated between the
22902298 colors of the two color-stops, with the interpolation taking place in
0 commit comments