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
It was resolved in #7522 to ignore all other text-decoration properties when the text-decoration-lineproperty has value spelling-error or grammar-error.
When ''spelling-error'' or ''grammar-error'' apply, the user agent must disregard the other sub-properties of 'text-decoration', as well any other properties typically affecting the appearance of line decorations (such as 'text-underline-position', 'color', 'stroke', or 'fill') when rendering these decorations.
A side effect of this change is that
::spelling-error { text-decoration-color: blue; }
has no effect because the default text-decoration-line for ::spelling-error is spelling-error (as one would hope).
Same applies to ::grammar-error.
I propose that we accept this as working as intended, and update the spec to clearly say that ::spelling-error will only respect text decoration properties when text-decoration-line is present with a value other than spelling-error or grammar-error.
It was resolved in #7522 to ignore all other text-decoration properties when the
text-decoration-line
property has valuespelling-error
orgrammar-error
.A side effect of this change is that
has no effect because the default
text-decoration-line
for::spelling-error
isspelling-error
(as one would hope).Same applies to
::grammar-error
.I propose that we accept this as working as intended, and update the spec to clearly say that
::spelling-error
will only respect text decoration properties whentext-decoration-line
is present with a value other thanspelling-error
orgrammar-error
.The text was updated successfully, but these errors were encountered: