-
Notifications
You must be signed in to change notification settings - Fork 747
Spelling & grammar markers #1881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from spelling nits, this looks good to me
css-text-decor-3/Overview.bs
Outdated
<dt><dfn value for="text-tecoration-line">spelling-error</dfn> | ||
<dd>This values indicates the type of text decoration used by the User Agent | ||
to highlight spelling mistakes. | ||
It's appearance is UA defined. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its
css-text-decor-3/Overview.bs
Outdated
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>. | ||
This value is <strong>deprecated</strong> in favor of Animations [[CSS3-ANIMATIONS]]. | ||
<dt><dfn value for="text-tecoration-line">spelling-error</dfn> | ||
<dd>This values indicates the type of text decoration used by the User Agent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
value
css-text-decor-3/Overview.bs
Outdated
It's appearance is UA defined. | ||
<span class=note>It is often rendered as a red wavy underline.</span> | ||
<dt><dfn value for="text-decoration-line">grammar-error</dfn> | ||
<dd>This values indicates the type of text decoration used by the User Agent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
value
css-text-decor-3/Overview.bs
Outdated
<dt><dfn value for="text-decoration-line">grammar-error</dfn> | ||
<dd>This values indicates the type of text decoration used by the User Agent | ||
to highlight grammar mistakes. | ||
It's appearance is UA defined. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to Alan's review
This pull requests is an attempt to solve #1828, based on what I think we were converging towards in during the conf call.
A possible variant of this would be to add the two new values to
text-decoration-style
instead oftext-decoration-line
. Arguably, if UAs wanted to allow it,text-decoration: overline spelling-error
is slightly more likely to be a meaningful combination thantext-decoration: solid spelling-error
.However, neither are motivated by real use cases, and the syntax I chose in this PR means the feature can be activated with just
text-decoration: spelling-error
ortext-decoration-line: spelling-error
, rather than having to specifytext-decoration: spelling-error underline
, expecting the underline part to be ignored, in order to avoid the longhand expansion totext-decoration-line: none; text-decoration-style: spelling-error;
that would happen if it were left out.