This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage 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 specification changes.
::grammar-error CSS pseudo-element represents a text segment which the browser has flagged as having a grammatical error(s).
Only a small subset of CSS properties can be used in a rule using
::grammar-error in its selector:
outlineand its longhands
text-decorationand its associated properties
|CSS Pseudo-Elements Level 4
The definition of '::grammar-error' in that specification.
|Working Draft||Initial definition|
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Feature||Android||Chrome for Android||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Safari Mobile|