w3ctag / design-reviews

W3C specs and API reviews
Creative Commons Zero v1.0 Universal
328 stars 55 forks source link

CSS Spelling and Grammar Customization #913

Closed schenney-chromium closed 10 months ago

schenney-chromium commented 11 months ago

こんにちは TAG-さん!

I'm requesting a TAG review of CSS ::spelling and ::grammar pseudo classes, and the text-decoration-line: spelling/grammar-error property values.

CSS highlight pseudo-elements allow developers to style text that the UA has flagged as misspelled or grammatically incorrect, and line decorations exposing the UA’s default decorations for spelling and grammar errors. These features allow authors to choose more legible colors for the default spelling and grammar errors, highlight misspelled words with background colors or other decorations, and implement custom spell checking with native appearance. For example, authors may customize the appearance of spelling/grammar mistakes when the UA’s default color for a mistake has inadequate contrast with the background color.

Further details:

You should also know that...

These features have been enabled under experimental web platform features in chromium since August 2022, and I'm only requesting review now because there's an Intent to Ship and it was discovered that no TAG review was ever done.

We'd prefer the TAG provide feedback as (please delete all but the desired option):

💬 leave review feedback as a comment in this issue and @-notify [schenney-chromium]

schenney-chromium commented 11 months ago

I see that https://github.com/w3ctag/design-reviews/issues/584 covered some aspects of this, the ::spelling and ::grammar pseudo classes, but not the text-decoration-line: spelling-error and grammar-error.

torgo commented 10 months ago

Hi @schenney-chromium - thanks for the opportunity to review this. We're happy to see this proceed. ✨✨