Add text-stable utility for text-wrap: stable - #20519
abdelrhmanahmed255 wants to merge 4 commits into
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review. WalkthroughThe change adds the static Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to The utility and its test match the intended CSS behavior. No actionable merge risk remains after normal checks. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 2 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
We currently support
text-wrap,text-nowrap,text-balance, andtext-pretty.This PR adds the missing
text-stableutility from the CSS Text 4 spec (text-wrap: stable;). This value is designed forcontenteditableelements and text editors to prevent lines preceding the cursor from shifting and re-wrapping while typing.Utility added
text-stable->text-wrap: stable;Changes
text-stabletoutilities.tsalongside existingtext-wraputilitiesutilities.test.ts