Allow the following syntax for gradients:
linear-gradient(in lab to right, red, blue)
The patch will parse and make available the interpolation method, but no
rendering changes are made, so all gradients will still render in srgb.
Differential D181162
Bug 1838740 - linear-gradient() and friends can parse a color interpolation method r=emilio Authored by tlouw on Jun 15 2023, 9:37 PM. Tags Referenced Files
Subscribers
Details
Allow the following syntax for gradients: The patch will parse and make available the interpolation method, but no
Diff Detail
Event TimelineThis comment was removed by tlouw. Comment Actions The additional tests just happened to succeed by chance, so making them fail now should be fine. Also only happens on nightly. Comment Actions I think at the very least we should not enable this by default yet. It's fine to annotate tests to enable the pref tho. I have a couple suggestions, but rather minor. I have a couple questions tho. With those and the comments addressed / replied this looks good, thanks!
Comment Actions r=me with the checks being consistent, and a bug on file for the wrong default.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||