You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -203,8 +204,27 @@ Text Decoration Lines: the 'text-decoration-line' property</h3>
203
204
Conforming user agents may simply not blink the text.
204
205
Note that not blinking the text is one technique to satisfy <a href="https://www.w3.org/TR/UAAG/guidelines.html#tech-on-off-blinking-text">checkpoint 3.3 of WAI-UAAG</a>.
205
206
This value is <strong>deprecated</strong> in favor of Animations [[CSS3-ANIMATIONS]].
207
+
<dt><dfn value for="text-tecoration-line">spelling-error</dfn>
208
+
<dd>This values indicates the type of text decoration used by the User Agent
209
+
to highlight spelling mistakes.
210
+
It's appearance is UA defined.
211
+
<span class=note>It is often rendered as a red wavy underline.</span>
212
+
<dt><dfn value for="text-decoration-line">grammar-error</dfn>
213
+
<dd>This values indicates the type of text decoration used by the User Agent
214
+
to highlight grammar mistakes.
215
+
It's appearance is UA defined.
216
+
<span class=note>It is often rendered as a green wavy underline.</span>
206
217
</dl>
207
218
219
+
When the value of 'text-decoration-line' is either ''spelling-error'' or ''grammar-error'',
220
+
the UA may disregard the values of the other <a>sub-properties</a> of 'text-decoration',
221
+
as well as those of other properties affecting the appearance of the text-decoration such as 'text-underline-position'.
222
+
To the extent that honoring these properties would be meaningful and practical given the UA's chosen rendering,
223
+
the UA should apply them, but is not required to.
224
+
225
+
Note: The ''spelling-error'' and ''grammar-error'' values are at risk.
226
+
227
+
208
228
<h3 id="text-decoration-color-property">
209
229
Text Decoration Color: the 'text-decoration-color' property</h3>
0 commit comments