Commit 4e047b9
fix(selector): normalize specificity hacks for :has() detection, bail on unresolvable media
Two review fixes:
- Use specificity-normalized selector for isHasPattern so &&:has(${Icon}) is
correctly detected as a :has() pattern instead of falling through to the
descendant-component handler
- Add state.markBail() in resolveMediaAndEmitComputedKeys when media query
interpolation cannot resolve, preventing lossy transformation
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 6462600 commit 4e047b9
2 files changed
Lines changed: 39 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5668 | 5668 | | |
5669 | 5669 | | |
5670 | 5670 | | |
| 5671 | + | |
| 5672 | + | |
| 5673 | + | |
| 5674 | + | |
| 5675 | + | |
| 5676 | + | |
| 5677 | + | |
| 5678 | + | |
| 5679 | + | |
| 5680 | + | |
| 5681 | + | |
| 5682 | + | |
| 5683 | + | |
| 5684 | + | |
| 5685 | + | |
| 5686 | + | |
| 5687 | + | |
| 5688 | + | |
| 5689 | + | |
| 5690 | + | |
| 5691 | + | |
| 5692 | + | |
| 5693 | + | |
| 5694 | + | |
| 5695 | + | |
| 5696 | + | |
| 5697 | + | |
| 5698 | + | |
| 5699 | + | |
| 5700 | + | |
| 5701 | + | |
| 5702 | + | |
| 5703 | + | |
| 5704 | + | |
| 5705 | + | |
5671 | 5706 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
417 | 419 | | |
418 | 420 | | |
419 | 421 | | |
| |||
2424 | 2426 | | |
2425 | 2427 | | |
2426 | 2428 | | |
| 2429 | + | |
2427 | 2430 | | |
2428 | 2431 | | |
2429 | 2432 | | |
| |||
0 commit comments