Repository navigation
Commit ea49ac9
Don't treat different
Variants that generate `@scope` rules wrap them in `context` nodes since #20369, and `toCss` prints `context` nodes as an empty string. So every `@scope` variant had the same signature, and canonicalization rewrote them to whichever `@scope` variant came first. Unwrap the `context` nodes before computing the signature.
Fixes #20714
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>@scope variants as the same when canonicalizing1 parent bbd48b6 commit ea49ac9
3 files changed
Lines changed: 34 additions & 1 deletion
File tree
- .changelog
- packages/tailwindcss/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2099 | 2099 | | |
2100 | 2100 | | |
2101 | 2101 | | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
2102 | 2125 | | |
2103 | 2126 | | |
2104 | 2127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3402 | 3402 | | |
3403 | 3403 | | |
3404 | 3404 | | |
| 3405 | + | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
3405 | 3412 | | |
3406 | | - | |
| 3413 | + | |
3407 | 3414 | | |
3408 | 3415 | | |
3409 | 3416 | | |
| |||
0 commit comments