- From: Thomas Steiner via GitHub <sysbot+gh@w3.org>
- Date: Thu, 19 Aug 2021 12:56:07 +0000
- To: public-css-archive@w3.org
tomayac has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-highlight-api] Can errors that trigger `::grammar-error` styling be created programmatically? == At Google, we're required to write our interview feedback in gender-neutral language. "TC" is corp. speak for "the candidate" and when a gender-revealing word slips in your feedback, you get a "spelling error" kind of user interface that suggests you correct it. <img width="544" alt="Screen Shot 2021-08-19 at 14 24 56" src="https://user-images.githubusercontent.com/145676/130071148-f5e736f2-bcf5-4bd0-ab91-297fb69c996f.png"> Since CSS (soon) allows one to style `::grammar-error` ([MDN docs](https://developer.mozilla.org/en-US/docs/Web/CSS/::grammar-error) [the [spec](https://drafts.csswg.org/css-pseudo/#selectordef-grammar-error) is down at the time of filing this]), I wonder if the authors of _CSS Pseudo-Elements Module Level 4_ thought of letting developers trigger a grammar error somehow. Right now, it's only for errors detected by the user agent if I understand correctly. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6526 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 19 August 2021 12:56:09 UTC