You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-color-5/Overview.bs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -747,7 +747,7 @@ When an origin color is present, the following keywords can also be used in this
747
747
Interpolation {#interpolation}
748
748
===================================
749
749
750
-
In general, interpolation between <<color>> values of the same color space occurs by linearly interpolating each component separately.
750
+
In general, interpolation between <<color>> values of the same color space occurs by linearly interpolating each component of the computed value of the color separately, in that colorspace.
751
751
752
752
Issue: Should gamut mapping occur before or after interpolation?
753
753
@@ -756,8 +756,9 @@ Issue(4928): How to handle achromatic interpolation?
756
756
Color space for interpolation {#interpolation-space}
757
757
------------------------------
758
758
759
-
If colors are not in the same color space, they are first converted to LCH and and interpolated as LCH colors.
759
+
If colors are not in the same color space, they are first converted to Lab and and interpolated as Lab colors.
760
760
Host syntax can override the interpolation color space and specify which color space is used for interpolation.
761
+
For example, 'color-mix' and 'color-adjust' override the default to LCH.
761
762
762
763
Issue: Should the colors at 0% and 100% be serialized with their original color spaces or converted to the interpolation space?
0 commit comments