@@ -85,6 +85,8 @@ pub enum PredefinedColorSpace {
8585SrgbLinear , 
8686    /// <https://drafts.csswg.org/css-color-4/#predefined-display-p3> 
8787DisplayP3 , 
88+     /// <https://drafts.csswg.org/css-color-4/#predefined-display-p3-linear> 
89+ DisplayP3Linear , 
8890    /// <https://drafts.csswg.org/css-color-4/#predefined-a98-rgb> 
8991A98Rgb , 
9092    /// <https://drafts.csswg.org/css-color-4/#predefined-prophoto-rgb> 
@@ -107,6 +109,7 @@ impl PredefinedColorSpace {
107109            "srgb"  => Self :: Srgb , 
108110            "srgb-linear"  => Self :: SrgbLinear , 
109111            "display-p3"  => Self :: DisplayP3 , 
112+             "display-p3-linear"  => Self :: DisplayP3Linear , 
110113            "a98-rgb"  => Self :: A98Rgb , 
111114            "prophoto-rgb"  => Self :: ProphotoRgb , 
112115            "rec2020"  => Self :: Rec2020 , 
@@ -126,6 +129,7 @@ impl ToCss for PredefinedColorSpace {
126129            Self :: Srgb  => "srgb" , 
127130            Self :: SrgbLinear  => "srgb-linear" , 
128131            Self :: DisplayP3  => "display-p3" , 
132+             Self :: DisplayP3Linear  => "display-p3-linear" , 
129133            Self :: A98Rgb  => "a98-rgb" , 
130134            Self :: ProphotoRgb  => "prophoto-rgb" , 
131135            Self :: Rec2020  => "rec2020" , 
0 commit comments