The proposed APIs enable users to modify the document local dictionary in the browser. Users can add, remove, and check words in the document local dictionary. This feature ensures the browser does not mark words in the document local dictionary as spelling errors.
Some words need to be added to the document custom dictionary so that the browser does not mark them as spelling errors. The added words need to be removed at some point if they aren't necessary. Current specs such as element.spellcheck attribute and ::spelling-error CSS pseudo-element manage the words already in the dictionary. Therefore, the new API would be needed to manipulate the document local dictionary.
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
third_party/blink/web_tests/wpt_internal/dom/local-dictionary/* There is WIP patch which includes the tests
No milestones specified
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/687a1d04.170a0220.2dad83.0168.GAE%40google.com.
Regarding motivation, our client has financial data, such as stock symbols and company names. There are similar use cases for medical data, fan fiction, or anything else with words that might not appear in hunspell's dictionaries. It's conceivable that the Google internal spelling APIs have these words but clients may be very reluctant to send their strings to Google.The proposal in this intent is relatively straightforward to implement and privacy and security is relatively simple to assess. But for developers there will probably be significant load time costs around it, to fetch the site's dictionary and process it to add the words.