@@ -3185,7 +3185,7 @@ Serialization</h3>
3185
3185
<div algorithm="serialize a calc() value">
3186
3186
To <dfn export>serialize a ''calc()'' value</dfn>
3187
3187
3188
- 1. [=Simplify the expression =] inside of it.
3188
+ 1. [=Simplify the calculation =] inside of it.
3189
3189
3190
3190
2. If this simplification process results in only a single value
3191
3191
(one <<number>> , one <<dimension>> , or one <<percentage>> ),
@@ -3203,12 +3203,14 @@ Serialization</h3>
3203
3203
</div>
3204
3204
3205
3205
<div algorithm="serialize a min()/max() value">
3206
- To <dfn export lt="serialize a min () value|serialize a max() value ">serialize a ''min ()'' or ''max()'' value </dfn> :
3206
+ To <dfn export lt="serialize a non-calc () math function ">serialize a non-''calc ()'' [=math function=] </dfn> :
3207
3207
3208
- 1. For each comma-separated expression inside of it ,
3209
- [=simplify the expression =] .
3208
+ 1. For each comma-separated [=calculation=] inside of the [=math function=] ,
3209
+ [=simplify the calculation =] .
3210
3210
3211
- 2. Let |s| initially be "min(" or "max(", as appropriate.
3211
+ 2. Let |s| initially be the name of the [=math function=] ,
3212
+ followed by "(".
3213
+ (E.g. "min(", "sin(", etc.)
3212
3214
3213
3215
3. [=serialize the summation|Serialize each summation=] ,
3214
3216
then join them into a single string,
@@ -3219,13 +3221,13 @@ Serialization</h3>
3219
3221
then return it.
3220
3222
</div>
3221
3223
3222
- <div algorithm="simplify an expression ">
3223
- To <dfn export lt="simplify an expression | simplify the expression " for="math function">simplify an expression </dfn> :
3224
+ <div algorithm="simplify a calculation ">
3225
+ To <dfn export lt="simplify a calculation | simplify the calculation " for="math function">simplify a calculation </dfn> :
3224
3226
3225
3227
1. Replace any ''calc()'' values with parentheses containing their contents.
3226
3228
2. Resolve all multiplications and divisions.
3227
3229
3. Combine identical units.
3228
- 4. Recurse into ''min()'' or ''max()'' values .
3230
+ 4. Recurse into remaining [=math functions=] .
3229
3231
5. Return the result.
3230
3232
3231
3233
Note: The value-computation process can transform disparate units into identical ones.
0 commit comments