Spelling and grammar text decorations
The text-decoration-line: spelling-error and text-decoration-line: grammar-error CSS declarations apply the browser's marking for spelling and grammatical mistakes. This is typically a wavy underline in red or green.
Status
Baseline Newly Available (since 2025-12-12)
This feature is expected to reach Baseline Widely Available status on: 2028-06-12
MDN documentation
No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.Specifications
Browser support
- Chrome 121 Released on 2024-01-23
- Chrome Android 121 Released on 2024-01-23
- Edge 121 Released on 2024-01-25
- Firefox 137 Released on 2025-04-01
- Firefox for Android 137 Released on 2025-04-01
- Safari 26.2 Released on 2025-12-12
- Safari on iOS 26.2 Released on 2025-12-12
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist