Commit 7441127
Added slash of alpha support using rgb() (#50281)
Summary:
Fixes #50207
Added slash alpha support like `rgb(255 122 127 / 0.2);`, currently seems we don't support it.
## Changelog:
[GENERAL] [ADDED] - Added slash of alpha support using rgb()
Pull Request resolved: #50281
Test Plan: `rgb(255 122 127 / 0.2)` can shows correctly.
Reviewed By: cipolleschi
Differential Revision: D72009174
Pulled By: NickGerleman
fbshipit-source-id: f53e550cfdc8f481785a1fb134cd0fab810f8f381 parent a29d5a2 commit 7441127
File tree
2 files changed
+32
-28
lines changed- packages/normalize-color
- __tests__
2 files changed
+32
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
| |||
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
53 | 43 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
58 | 48 | | |
59 | 49 | | |
60 | 50 | | |
61 | | - | |
62 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | | - | |
| 66 | + | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
238 | 237 | | |
239 | 238 | | |
240 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
241 | 247 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 248 | + | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
0 commit comments