Skip to content

Commit 72d9aca

Browse files
committed
[css-values-4] Clarify that zero terms cannot be removed. w3c#3741
See w3c#3741 (comment)
1 parent c0cc7f2 commit 72d9aca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-values-4/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4548,6 +4548,11 @@ Simplification</h4>
45484548
return the child.
45494549
Otherwise, return |root|.
45504550

4551+
Note: Zero-valued terms cannot be simply removed from a Sum;
4552+
they can only be combined with other values that have identical units.
4553+
(This is because the mere presence of a unit, even with a zero value,
4554+
can sometimes imply a change in behavior.)
4555+
45514556
9. If |root| is a Product node:
45524557

45534558
1. For each of |root|'s children

0 commit comments

Comments
 (0)