Skip to content

Commit a2d70d4

Browse files
committed
[css-typed-om] 'this' might not be a CSSUnitValue; it might be another type that emptied its contents into the list. #12384
1 parent 4e97922 commit a2d70d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-typed-om/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ The following are the arithmetic operations you can perform on dimensions:
11361136
3. If all of the [=list/items=] in |values| are {{CSSUnitValue}}s
11371137
and have the same {{CSSUnitValue/unit}},
11381138
return a new {{CSSUnitValue}}
1139-
whose {{CSSUnitValue/unit}} internal slot is set to |this|’s {{CSSUnitValue/unit}} internal slot,
1139+
whose {{CSSUnitValue/unit}} internal slot is set to that unit,
11401140
and {{CSSUnitValue/value}} internal slot is set to the sum of
11411141
the {{CSSUnitValue/value}} internal slots
11421142
of the [=list/items=] in |values|.
@@ -1284,7 +1284,7 @@ The following are the arithmetic operations you can perform on dimensions:
12841284
3. If all of the [=list/items=] in |values| are {{CSSUnitValue}}s
12851285
and have the same {{CSSUnitValue/unit}},
12861286
return a new {{CSSUnitValue}}
1287-
whose {{CSSUnitValue/unit}} internal slot is set to |this|’s {{CSSUnitValue/unit}} internal slot,
1287+
whose {{CSSUnitValue/unit}} internal slot is set to that unit,
12881288
and {{CSSUnitValue/value}} internal slot is set to the minimum of
12891289
the {{CSSUnitValue/value}} internal slots
12901290
of the [=list/items=] in |values|.
@@ -1315,7 +1315,7 @@ The following are the arithmetic operations you can perform on dimensions:
13151315
3. If all of the [=list/items=] in |values| are {{CSSUnitValue}}s
13161316
and have the same {{CSSUnitValue/unit}},
13171317
return a new {{CSSUnitValue}}
1318-
whose {{CSSUnitValue/unit}} internal slot is set to |this|’s {{CSSUnitValue/unit}} internal slot,
1318+
whose {{CSSUnitValue/unit}} internal slot is set to that unit,
13191319
and {{CSSUnitValue/value}} internal slot is set to the maximum of
13201320
the {{CSSUnitValue/value}} internal slots
13211321
of the [=list/items=] in |values|.

0 commit comments

Comments
 (0)