We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03d17ab commit bb4f520Copy full SHA for bb4f520
1 file changed
css-values-4/Overview.bs
@@ -4072,6 +4072,24 @@ Simplification</h4>
4072
expressed in the result's [=canonical unit=].
4073
4074
5. Return |root|.
4075
+
4076
+ 8. If |root| is a Min or Max node:
4077
4078
+ 1. [=For each=] node |child| of |root|’s children:
4079
4080
+ If |child| is a numeric value
4081
+ with a unit other than "percent",
4082
+ and there are other children of |root|
4083
+ that are numeric values with the same unit,
4084
+ combine all such children
4085
+ with the appropriate operator per |root|,
4086
+ and replace |child| with the result,
4087
+ removing all other child nodes involved.
4088
4089
+ 2. If |root| now has only a single child,
4090
+ return that child.
4091
+ Otherwise, return |root|.
4092
4093
</div>
4094
4095
<h3 id='calc-computed-value'>
0 commit comments