Color stops without a color, a so-called transition hint, are not supported by the parser.
This is a legal gradient:
linear-gradient(red, 10%, blue);
However, it's not supported by your current parser.
It's impossible to express as a "normal" gradient, as it's kind of equivalent to:
linear-gradient(red 0%, color-between-red-and-blue 10%, blue 100%);
But not exactly. It will actually give an exponential color curve between the two values (unless placed exactly in the center), and not two separate linear color curves. It cannot be expressed as a regular gradient.
Read more about coloring the gradient in the spec.
Color stops without a color, a so-called transition hint, are not supported by the parser.
This is a legal gradient:
However, it's not supported by your current parser.
It's impossible to express as a "normal" gradient, as it's kind of equivalent to:
But not exactly. It will actually give an exponential color curve between the two values (unless placed exactly in the center), and not two separate linear color curves. It cannot be expressed as a regular gradient.
Read more about coloring the gradient in the spec.