Skip to content

Commit 52bad46

Browse files
committed
[css-values-5] Fix normalization steps. #6245
1 parent 6e1b9f8 commit 52bad46

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

css-values-5/Overview.bs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -894,9 +894,8 @@ Normalizing Mix Percentages</h3>
894894
2. For each omitted percentage in |items|,
895895
set it to
896896
<code>(100% - |specified sum|) / (number of omitted percentages)</code>.
897-
3. Let |total| be the sum of the percentages of all the items,
898-
clamped to 100%.
899-
4. If |total| is greater than 0%,
897+
3. Let |total| be the sum of the percentages of all the items.
898+
4. If |total| is greater than 100%,
900899
or if |total| is greater than 0% and the |force normalization| flag is true,
901900
multiply every percentage in |items| by <code>(100% / |total|)</code>.
902901
5. If |total| is less than 100%,

0 commit comments

Comments
 (0)