Intent to implement: Idle Time Spell Checking

79 views
Skip to first unread message

Xiaocheng

unread,
Dec 7, 2016, 2:57:32 AM12/7/16
to blink-dev
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.

Sami Kyostila

unread,
Dec 8, 2016, 5:58:51 AM12/8/16
to Xiaocheng, blink-dev
Thanks for doing this! The more work we move to idle time, the easier it is to ensure high priority work runs on time.

- Sami

--
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.
Reply all
Reply to author
Forward
0 new messages