Contact emails
ko...@chromium.org, e...@chromium.org
Spec
CSS Text level 3, Hyphenation Control: the hyphens property
Summary
This CSS property controls automatic hyphenations.
Link to “Intent to Implement” blink-dev discussion
Intent to Implement: CSS hyphens property at blink-dev
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
No. Soft hyphens control by ‘none’ and ‘manual’ is supported on all platforms, but the automatic hyphenation requires hyphenation dictionaries for the specified locale.
Android: Blink uses dictionaries built into OS. M MR1 has 7, N has 33 dictionaries.
Mac: Blink uses dictionaries built into OS through Core Foundation API. OS X 10.11.6 has 23 dictionaries.
Win/Linux/Chrome OS: Windows, Linux, and Chrome OS do not provide system hyphenation dictionaries accessible to Chrome. For these platforms the plan is to download the dictionaries on demand, similarly to how we download spell checker dictionaries today.
Automatic hyphenation works only if the dictionary for the specified locale is available. Authors can specify the locale by the lang attribute, or the fallback rules as defined in language of a node if the lang attribute is not specified, or the system locale if the language of a node is unknown.
Interoperability and Compatibility Risk
No compatibility risks are expected.
Gecko ships today without prefix.
Edge/Trident/WebKit ships today with prefix.
Blink had -webkit-hyphens, until we removed as not having an owner.
OWP launch tracking bug
Entry on the feature dashboard
https://www.chromestatus.com/features/5642121184804864Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
No. Soft hyphens control by ‘none’ and ‘manual’ is supported on all platforms, but the automatic hyphenation requires hyphenation dictionaries for the specified locale.
Android: Blink uses dictionaries built into OS. M MR1 has 7, N has 33 dictionaries.
Mac: Blink uses dictionaries built into OS through Core Foundation API. OS X 10.11.6 has 23 dictionaries.
Win/Linux/Chrome OS: Windows, Linux, and Chrome OS do not provide system hyphenation dictionaries accessible to Chrome. For these platforms the plan is to download the dictionaries on demand, similarly to how we download spell checker dictionaries today.
Automatic hyphenation works only if the dictionary for the specified locale is available. Authors can specify the locale by the lang attribute, or the fallback rules as defined in language of a node if the lang attribute is not specified, or the system locale if the language of a node is unknown.
Just to clarify, does this Intent to Ship include the implementation of the automatic downloading for Windows, Linux and CrOS?
--
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+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
I assume we already have the UMA in place to measure the impact of mapping the hyphen dictionaries?
--
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+unsubscribe@chromium.org.
This API design doesn't require sync IPC, does it? I.e. if we discover the sync IPC is adding measurable jank (as I personally suspect it would), then can't we move to a model where the browser proactively maps the dictionaries into the renderer's address space?
My understanding is that UMA is susceptible to all kinds of data corruption issues, for example bad ram, fast shutdown, various other things. I think we usually ignore the nonsense data. :)
I think we should go ahead with shipping this for now, but be mindful of the cost and watch the numbers.