CSS ::spelling-error Selector
Experimental: This is an experimental technology.
Example
::spelling-error {
text-decoration: wavy red;
}
Meaning
The ::spelling-error selector represents a text segment which the user agent has flagged as incorrectly spelled.
Version: CSS3
Standard Syntax
::spelling-error {
css declarations;
}
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Status
Allowable properties
Only a small subset of CSS properties can be used in a rule with ::spelling-error in its selector:
- color
- background-color
- cursor
- caret-color
- outlineoutline and its longhands
- text-decoration and its associated properties
- text-emphasis-color
- text-shadow