Commit 3b58d7f
authored
[css-mixins-1] Fix space placement in serialize a CSSFunctionRule (#13605)
* [css-mixins-1] Fix numbering of `serialize a CSSFunctionRule`
* [css-mixins-1] Fix space placement in `serialize a CSSFunctionRule`
By moving the space from step 5 to the start of step 6 we ensure that
there is a space before the '{' regardless of whether we serialize the
return type (i.e. "--foo() {..." rather than "--foo(){...")
By moving the space from after the '{' in step 6 to before the first
serialized rule in step 7 we ensure that there is only one space (the
one in step 8) between the '{' and '}' in the case that there are no
rules.1 parent 100146f commit 3b58d7f
1 file changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2353 | 2353 | | |
2354 | 2354 | | |
2355 | 2355 | | |
2356 | | - | |
| 2356 | + | |
2357 | 2357 | | |
2358 | 2358 | | |
2359 | 2359 | | |
2360 | | - | |
2361 | | - | |
| 2360 | + | |
| 2361 | + | |
2362 | 2362 | | |
2363 | 2363 | | |
2364 | 2364 | | |
2365 | 2365 | | |
2366 | 2366 | | |
2367 | 2367 | | |
2368 | | - | |
2369 | | - | |
| 2368 | + | |
2370 | 2369 | | |
2371 | | - | |
2372 | | - | |
| 2370 | + | |
| 2371 | + | |
2373 | 2372 | | |
2374 | | - | |
| 2373 | + | |
2375 | 2374 | | |
2376 | 2375 | | |
2377 | | - | |
| 2376 | + | |
2378 | 2377 | | |
2379 | 2378 | | |
2380 | 2379 | | |
2381 | 2380 | | |
2382 | | - | |
| 2381 | + | |
2383 | 2382 | | |
2384 | 2383 | | |
2385 | 2384 | | |
| |||
0 commit comments