Skip to content

Commit 3953273

Browse files
andruudAnders Hartvoll Ruud
andauthored
[css-mixins-1] Don't erase the result type (#12259)
The "result" registration got caught in the blast radius when resetting the types for the local variables. Co-authored-by: Anders Hartvoll Ruud <andruud@google.com>
1 parent dbedc50 commit 3953273

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎css-mixins-1/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,8 @@ with its [=function parameters=] overriding "inherited" custom properties of the
589589
Let |argument styles| be the result.
590590
10. Let |body rule| be the [=function body=] of |custom function|,
591591
as a [=style rule=].
592-
11. For each [=custom property registration=] of |registrations|,
592+
11. For each [=custom property registration=] of |registrations|
593+
except the registration with the name "result",
593594
set its initial value
594595
to the corresponding value in |argument styles|,
595596
set its syntax

0 commit comments

Comments
 (0)