DescriptionImplement color stop position syntax from CSS Image Values 4
CSS Image Values 4 allows specifying up to two positions per color stop, e.g.:
linear-gradient(45deg, black 0% 50%, white 50% 100%)
This is equivalent to repeating the color at the given positions:
linear-gradient(45deg, black 0%, black 50%, white 50%, white 100%)
(https://drafts.csswg.org/css-images-4/#color-stop-syntax)
Add support for the new syntax, behind a runtime flag.
BUG=707047
Patch Set 1 #Patch Set 2 : accurate computed value #Patch Set 3 : no repeating hints #Patch Set 4 : hide behind RTEF #
Total comments: 5
Patch Set 5 : review #Patch Set 6 : greedy color repeat serializer + more tests #
Messages
Total messages: 35 (23 generated)
|