::grammar-error

This article needs a technical review. How you can help.

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

SummaryEdit

The ::grammar-error CSS pseudo-element represents a text segment which the browser has flagged as having grammatical error(s).

Only a small subset of CSS properties can be used in a rule using ::grammar-error in its selector: color, background-color, cursor, text-emphasis-color, text-shadow, outline and its longhands, text-decoration and its associated properties.

SpecificationsEdit

Specification Status Comment
CSS Pseudo-Elements Level 4
The definition of '::grammar-error' in that specification.
Working Draft Initial definition

Browser compatibilityEdit

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

See alsoEdit

Document Tags and Contributors

 Contributors to this page: rolfedh, cvrebert
 Last updated by: rolfedh,