|
7 | 7 | { |
8 | 8 | "name": "dynamic-range-limit", |
9 | 9 | "href": "https://www.w3.org/TR/css-color-hdr-1/#propdef-dynamic-range-limit", |
10 | | - "value": "standard | high | constrained-high | <dynamic-range-limit-mix()>", |
11 | | - "initial": "high", |
| 10 | + "value": "standard | no-limit | constrained | <dynamic-range-limit-mix()>", |
| 11 | + "initial": "no-limit", |
12 | 12 | "appliesTo": "all elements", |
13 | 13 | "inherited": "yes", |
14 | 14 | "percentages": "n/a", |
|
18 | 18 | "values": [ |
19 | 19 | { |
20 | 20 | "name": "standard", |
21 | | - "prose": "The highest luminance color that is displayed is the same as media white, i.e. the CSS color white.", |
| 21 | + "prose": "The highest luminance color that is displayed is the same as HDR reference white, i.e. the CSS color white.", |
22 | 22 | "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-standard", |
23 | 23 | "type": "value", |
24 | 24 | "value": "standard" |
25 | 25 | }, |
26 | 26 | { |
27 | | - "name": "high", |
28 | | - "prose": "The highest peak luminance that is displayed is much greater than media white, i.e. the CSS color white; the precise level is not specified.", |
29 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-high", |
| 27 | + "name": "no-limit", |
| 28 | + "prose": "The highest peak luminance that is displayed is much greater than HDR reference white, i.e. the CSS color white; the precise level is not specified.", |
| 29 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-no-limit", |
30 | 30 | "type": "value", |
31 | | - "value": "high" |
| 31 | + "value": "no-limit" |
32 | 32 | }, |
33 | 33 | { |
34 | | - "name": "constrained-high", |
35 | | - "prose": "The highest peak luminance that is displayed is somewhat greater than media white, i.e. the CSS color white, such that a mix of SDR and HDR content can be comfortably viewed together.", |
36 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-constrained-high", |
| 34 | + "name": "constrained", |
| 35 | + "prose": "The highest peak luminance that is displayed is somewhat greater than HDR reference white, i.e. the CSS color white, such that a mix of SDR and HDR content can be comfortably viewed together.", |
| 36 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-constrained", |
37 | 37 | "type": "value", |
38 | | - "value": "constrained-high" |
| 38 | + "value": "constrained" |
39 | 39 | } |
40 | 40 | ], |
41 | 41 | "styleDeclaration": [ |
|
49 | 49 | "values": [ |
50 | 50 | { |
51 | 51 | "name": "dynamic-range-limit-mix()", |
52 | | - "value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]> ]#)", |
| 52 | + "value": "dynamic-range-limit-mix( [ <'dynamic-range-limit'> && <percentage [0,100]> ]#{2,} )", |
53 | 53 | "href": "https://www.w3.org/TR/css-color-hdr-1/#funcdef-dynamic-range-limit-mix", |
54 | 54 | "type": "function" |
55 | 55 | }, |
56 | 56 | { |
57 | | - "name": "color()", |
58 | | - "value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )", |
59 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#funcdef-color", |
60 | | - "type": "function" |
61 | | - }, |
62 | | - { |
63 | | - "name": "<colorspace-params>", |
64 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#typedef-colorspace-params", |
| 57 | + "name": "<color-function>", |
| 58 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#typedef-color-function", |
65 | 59 | "type": "type", |
66 | | - "value": "[<custom-params> | <predefined-rgb-params> | <predefined-polar-params> | <predefined-rectangular-params> | <xyz-params>]" |
| 60 | + "value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <alpha()> | <color()>" |
67 | 61 | }, |
68 | 62 | { |
69 | | - "name": "<custom-params>", |
70 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#typedef-custom-params", |
71 | | - "type": "type", |
72 | | - "value": "<dashed-ident> [ <number> | <percentage> | none ]+" |
| 63 | + "name": "ictcp()", |
| 64 | + "value": "ictcp([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )", |
| 65 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#funcdef-ictcp", |
| 66 | + "type": "function", |
| 67 | + "values": [ |
| 68 | + { |
| 69 | + "name": "i", |
| 70 | + "prose": "i is a <number> that corresponds to the origin color’s I (Lightness) after conversion, if required, to ictcp. 1.0 is equivalent to 100%.", |
| 71 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-ictcp-i", |
| 72 | + "type": "value", |
| 73 | + "value": "i" |
| 74 | + }, |
| 75 | + { |
| 76 | + "name": "ct", |
| 77 | + "prose": "ct and cp are <number>s that correspond to the origin color’s ct and cp axes after conversion, if required, to ictcp. 0.5 is equivalent to 100%, while -0.5 is equivalent to -100%.", |
| 78 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-ictcp-ct", |
| 79 | + "type": "value", |
| 80 | + "value": "ct" |
| 81 | + }, |
| 82 | + { |
| 83 | + "name": "cp", |
| 84 | + "prose": "ct and cp are <number>s that correspond to the origin color’s ct and cp axes after conversion, if required, to ictcp. 0.5 is equivalent to 100%, while -0.5 is equivalent to -100%.", |
| 85 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-ictcp-cp", |
| 86 | + "type": "value", |
| 87 | + "value": "cp" |
| 88 | + }, |
| 89 | + { |
| 90 | + "name": "alpha", |
| 91 | + "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency. 1.0 is equivalent to 100%.", |
| 92 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-ictcp-alpha", |
| 93 | + "type": "value", |
| 94 | + "value": "alpha" |
| 95 | + } |
| 96 | + ] |
73 | 97 | }, |
74 | 98 | { |
75 | | - "name": "<predefined-rgb-params>", |
76 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#typedef-predefined-rgb-params", |
77 | | - "type": "type", |
78 | | - "value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}" |
| 99 | + "name": "jzazbz()", |
| 100 | + "value": "jzazbz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )", |
| 101 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#funcdef-jzazbz", |
| 102 | + "type": "function", |
| 103 | + "values": [ |
| 104 | + { |
| 105 | + "name": "j", |
| 106 | + "prose": "j is a <number> that corresponds to the origin color’s Jz (Lightness) after conversion, if required, to jzazbz. 1.0 is equivalent to 100%.", |
| 107 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-jzazbz-j", |
| 108 | + "type": "value", |
| 109 | + "value": "j" |
| 110 | + }, |
| 111 | + { |
| 112 | + "name": "a", |
| 113 | + "prose": "a and b are <number>s that correspond to the origin color’s az and bz axes after conversion, if required, to jzazbz. 0.21 is equivalent to 100%, while -0.21 is equivalent to -100%.", |
| 114 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-jzazbz-a", |
| 115 | + "type": "value", |
| 116 | + "value": "a" |
| 117 | + }, |
| 118 | + { |
| 119 | + "name": "b", |
| 120 | + "prose": "a and b are <number>s that correspond to the origin color’s az and bz axes after conversion, if required, to jzazbz. 0.21 is equivalent to 100%, while -0.21 is equivalent to -100%.", |
| 121 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-jzazbz-b", |
| 122 | + "type": "value", |
| 123 | + "value": "b" |
| 124 | + }, |
| 125 | + { |
| 126 | + "name": "alpha", |
| 127 | + "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency. 1.0 is equivalent to 100%.", |
| 128 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-jzazbz-alpha", |
| 129 | + "type": "value", |
| 130 | + "value": "alpha" |
| 131 | + } |
| 132 | + ] |
79 | 133 | }, |
80 | 134 | { |
81 | | - "name": "<predefined-polar-params>", |
82 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#typedef-predefined-polar-params", |
83 | | - "type": "type", |
84 | | - "value": "jzczhz [ <number> | <percentage> | none ]{2} [ <hue> | none]" |
| 135 | + "name": "jzczhz()", |
| 136 | + "value": "jzczhz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )", |
| 137 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#funcdef-jzczhz", |
| 138 | + "type": "function", |
| 139 | + "values": [ |
| 140 | + { |
| 141 | + "name": "j", |
| 142 | + "prose": "j is a <number> that corresponds to the origin color’s Jz (Lightness) after conversion, if required, to jzczhz. 100 is equivalent to 100%.", |
| 143 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-jzczhz-j", |
| 144 | + "type": "value", |
| 145 | + "value": "j" |
| 146 | + }, |
| 147 | + { |
| 148 | + "name": "c", |
| 149 | + "prose": "c is a <number> that corresponds to the origin color’s Cz (chroma) after conversion, if required, to jzczhz. 0.26 is equivalent to 100%.", |
| 150 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-jzczhz-c", |
| 151 | + "type": "value", |
| 152 | + "value": "c" |
| 153 | + }, |
| 154 | + { |
| 155 | + "name": "h", |
| 156 | + "prose": "h is a <number> that corresponds to the origin color’s hz (hue), in degrees, after conversion, if required, to jzczhz, normalized to a [0, 360] range. 90 is equivalent to 90deg.", |
| 157 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-jzczhz-h", |
| 158 | + "type": "value", |
| 159 | + "value": "h" |
| 160 | + }, |
| 161 | + { |
| 162 | + "name": "alpha", |
| 163 | + "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency. 1.0 is equivalent to 100%.", |
| 164 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#valdef-jzczhz-alpha", |
| 165 | + "type": "value", |
| 166 | + "value": "alpha" |
| 167 | + } |
| 168 | + ] |
85 | 169 | }, |
86 | 170 | { |
87 | | - "name": "<predefined-rectangular-params>", |
88 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#typedef-predefined-rectangular-params", |
89 | | - "type": "type", |
90 | | - "value": "<predefined-rectangular> [ <number> | <percentage> | none ]{3}" |
| 171 | + "name": "hdr-color()", |
| 172 | + "value": "color-hdr([ <color> && <number [0,∞]>? ]#{2})", |
| 173 | + "href": "https://www.w3.org/TR/css-color-hdr-1/#funcdef-hdr-color", |
| 174 | + "type": "function" |
91 | 175 | }, |
92 | 176 | { |
93 | 177 | "name": "<predefined-rgb>", |
94 | 178 | "href": "https://www.w3.org/TR/css-color-hdr-1/#typedef-predefined-rgb", |
95 | 179 | "type": "type", |
96 | | - "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | rec2100-pq | rec2100-hlg | rec2100-linear" |
97 | | - }, |
98 | | - { |
99 | | - "name": "<predefined-rectangular>", |
100 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#typedef-predefined-rectangular", |
101 | | - "type": "type", |
102 | | - "value": "jzazbz | ictcp" |
103 | | - }, |
104 | | - { |
105 | | - "name": "<xyz-params>", |
106 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#typedef-xyz-params", |
107 | | - "type": "type", |
108 | | - "value": "<xyz> [ <number> | <percentage> | none ]{3}" |
109 | | - }, |
110 | | - { |
111 | | - "name": "<xyz>", |
112 | | - "href": "https://www.w3.org/TR/css-color-hdr-1/#typedef-xyz", |
113 | | - "type": "type", |
114 | | - "value": "xyz | xyz-d50 | xyz-d65" |
| 180 | + "value": "srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020 | rec2100-pq | rec2100-hlg | rec2100-linear" |
115 | 181 | } |
116 | 182 | ] |
117 | 183 | } |
0 commit comments