BASELINE NowYouCanUse.com
Limited Availability Selectors

text-decoration in ::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.
Baseline Status: This feature is currently Limited (not yet Baseline). Latest engine implementation shipped on Sep 2, 2022.
Desktop Browser Engine Support
Google Chrome
105
Supported
Mozilla Firefox
—
Unsupported
Apple Safari
—
Unsupported
Microsoft Edge
105
Supported
Mobile Browser Engine Support
Chrome Android
105
Firefox Android
—
Safari iOS
—
Specifications and References
id: text-decoration-selection