standards-positions icon indicating copy to clipboard operation
standards-positions copied to clipboard

Preventing User Dictionary Leaks via ::spelling-error and ::grammar-error CSS Pseudo-Elements

Open arichiv opened this issue 3 months ago • 8 comments

Proposal author(s)

@arichiv, @arturjanc, @ladankhamnian

Title of the proposal

Preventing User Dictionary Leaks via ::spelling-error and ::grammar-error CSS Pseudo-Elements

URL to the spec's repository

https://github.com/explainers-by-googlers/user-dictionary-leaks

Issue Tracker URL

https://crbug.com/415712674

Explainer URL

https://explainers-by-googlers.github.io/user-dictionary-leaks/

TAG Design Review URL

https://github.com/w3ctag/design-reviews/issues/1148

Mozilla standards-positions issue URL

https://github.com/mozilla/standards-positions/issues/1294

Description

We want to prevent websites from extracting information about a user’s dictionary using CSS spelling/grammar hint highlights. This is currently possible by making a text field with a repeated (misspelled) word autofocus and monitoring rendering performance to notice when highlighting occurs.

arichiv avatar Sep 08 '25 11:09 arichiv