::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
BCD tables only load in the browser