@@ -2084,10 +2084,10 @@ interface CSSMathMax : CSSMathValue {
2084
2084
2085
2085
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
2086
2086
interface CSSMathClamp : CSSMathValue {
2087
- constructor(CSSNumberish min , CSSNumberish val , CSSNumberish max );
2088
- readonly attribute CSSNumericValue min ;
2089
- readonly attribute CSSNumericValue val ;
2090
- readonly attribute CSSNumericValue max ;
2087
+ constructor(CSSNumberish lower , CSSNumberish value , CSSNumberish upper );
2088
+ readonly attribute CSSNumericValue lower ;
2089
+ readonly attribute CSSNumericValue value ;
2090
+ readonly attribute CSSNumericValue upper ;
2091
2091
};
2092
2092
2093
2093
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
@@ -2180,20 +2180,20 @@ of all the "math" operations.
2180
2180
</div>
2181
2181
2182
2182
<div algorithm="CSSMathClamp(min, val, max)">
2183
- The <dfn constructor for="CSSMathClamp">CSSMathClamp(|min |, |val |, |max |)</dfn> constructor must,
2183
+ The <dfn constructor for="CSSMathClamp">CSSMathClamp(|lower |, |value |, |upper |)</dfn> constructor must,
2184
2184
when called,
2185
2185
perform the following steps:
2186
2186
2187
- 1. Replace |min |, |val |, and |max |
2187
+ 1. Replace |lower |, |value |, and |upper |
2188
2188
with the result of [=rectifying a numberish value=] for each.
2189
2189
2190
- 2. Let |type| be the result of [=adding=] the [=types=] of |min |, |val |, and |max |.
2190
+ 2. Let |type| be the result of [=adding=] the [=types=] of |lower |, |value |, and |upper |.
2191
2191
If |type| is failure,
2192
2192
[=throw=] a {{TypeError}} .
2193
2193
2194
2194
3. Return a new {{CSSMathClamp}}
2195
- whose {{CSSMathClamp/min }} , {{CSSMathClamp/val }} , and {{CSSMathClamp/max }} internal slots
2196
- are set to |min |, |val |, and |max |, respectively.
2195
+ whose {{CSSMathClamp/lower }} , {{CSSMathClamp/value }} , and {{CSSMathClamp/upper }} internal slots
2196
+ are set to |lower |, |value |, and |upper |, respectively.
2197
2197
</div>
2198
2198
2199
2199
<div algorithm="CSSMathNegate(arg)">
@@ -2227,7 +2227,7 @@ of all the "math" operations.
2227
2227
2228
2228
: {{CSSMathClamp}}
2229
2229
:: The [=type=] is the result of [=adding=] the [=types=]
2230
- of the {{CSSMathClamp/min }} , {{CSSMathClamp/val }} , and {{CSSMathClamp/max }} internal slots.
2230
+ of the {{CSSMathClamp/lower }} , {{CSSMathClamp/value }} , and {{CSSMathClamp/upper }} internal slots.
2231
2231
2232
2232
: {{CSSMathProduct}}
2233
2233
:: The [=type=] is the result of [=CSSNumericValue/multiplying=] the [=types=]
0 commit comments