Contact emails
Design doc
Summary
Make Blink’s spell checker triggered in the renderer’s idle time as an IdleRequestCallback, to reduce input latency and restructure related code.
Motivation
Currently, Blink’s spell checker is triggered synchronously at every editing operation (typing, pasting, selection changing, etc.), blocking the page for some time to figure out which sentences and/or words need to be checked (see
crbug.com/109587 for an example).
By moving the triggering of spell checker to idle time, input latency caused by spell checking can be eliminated. As a side product, the possibility of decoupling editing and spell-checking code is open.
Interoperability and Compatibility Risk
None. This is an implementation change. Users and developers may not notice.
Ongoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Windows, Mac, Linux and Chrome OS. Spell checking support on Android and Android WebView is still under development (see
crbug.com/629609).
OWP launch tracking bug
Link to entry on the feature dashboard
Not applicable for an implementation change.
Requesting approval to ship?
No.