::grammar-error
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
::grammar-error 伪元素应用于浏览器标识为语法错误的文本段
只有一小部分的 css 能够应用在::grammar-error 的选择器中
color
background-color
cursor
text-emphasis-color
text-shadow
outline
and its longhandstext-decoration
and its associated properties
Specifications
Specification |
---|
CSS Pseudo-Elements Module Level 4 # selectordef-grammar-error |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
::grammar-error |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.