Commit 34637df
Propagate
Thanks to the recent changes by Sajid and the changes in bug 2043078,
which make color components properly return numbers for type-checking
purposes, this is now trivial.
We could add an "allowed but only numbers" or so, but type checking will
basically deal with it (in fact we should probably allow parsing
~everything all the time and rely on unit() doing the type-checking).
Differential Revision: https://phabricator.services.mozilla.com/D303375
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1951206
gecko-commit: 84b5d08285154e0c7b1feb1604dc5302ca2ae024
gecko-commit-git: 8a7d2d52762439c5a429d6a73e0c272046d309e2
gecko-reviewers: sajidanwarallowed to support color components in math functions.1 parent 7e268df commit 34637df
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
896 | 906 | | |
897 | 907 | | |
898 | 908 | | |
0 commit comments