text-wrap: pretty
Limited availability
The text-wrap: pretty
CSS declaration prioritizes better layout over speed when text is broken into multiple lines.
Learning resources on MDN
Browser support
- Chrome 117 Released on 2023-09-12
- Chrome Android 117 Released on 2023-09-12
- Edge 117 Released on 2023-09-15
- Firefox ❌ Vendor position : positive (concerns: compatibility, complexity)
- Firefox for Android ❌ Vendor position : positive (concerns: compatibility, complexity)
- Safari ❌
- Safari on iOS ❌
Specifications
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature