---
id: "text-decoration-selection"
kind: "web-feature"
canonical: "https://timetostable.com/feature/text-decoration-selection"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# text-decoration in ::selection (`text-decoration-selection`)

The text-decoration CSS property in a ::selection rule sets the underline and other text decoration styles on the text a user has highlighted.

- **Group**: Selectors
- **Baseline**: Limited Availability
- **Specification**: https://drafts.csswg.org/css-pseudo-4/#highlight-styling
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Edge | 105 | 2022-09-01 |
| Chrome | 105 | 2022-09-02 |
| Chrome Android | 105 | 2022-09-02 |

