Awesome! I've been following this API through the TC39 process, as it is a critical primitive for building full-text indexes using storage APIs.
On Wed, Aug 12, 2020 at 3:17 PM Frank Tang <[email protected]> wrote: > [Note: Resent due to message header problem. Sorry]Contact emails > [email protected], [email protected] > > Explainer > https://github.com/tc39/proposal-intl-segmenter > > Specificationhttps://tc39.github.io/proposal-intl-segmenter/ > > Design docs > > https://docs.google.com/document/d/1xugLpLmgRFnNXK8ztariTAbD2IXueDw1T3VNuuZCz8k/edit#heading=h.xgjl2srtytjt > > https://docs.google.com/presentation/d/1X2zBU3bZ4ergVMWfubCsdnHFzeaDgqiTRJVgvNGjQBs/edit#slide=id.p > > TAG reviewreview by ECMA402 > > SummaryIntl.Segmenter implements methods for finding the location of > boundaries in text, including grapheme, line, word and sentence boundary > analysis. > > MotivationCurrently, chrome is shipped with Intl.v8BreakIterator - a non > standard way for similar functionality. According to > https://www.chromestatus.com/metrics/feature/timeline/popularity/556 on > 2020 Feb there are 0.74% of the web page use it. Intl.Segmenter is the web > standard to replace it. > > Risks > > > Interoperability and CompatibilityThe specification is moved to Stage 3 > in TC39 2020-Jul meeting with support from ECMA402. > > *Gecko*: In development ( > https://bugzilla.mozilla.org/show_bug.cgi?id=1423593) > The Gecko bug indicates it was discussed 3 years ago (with a patch?) but I don't see anything meaningful since then. Is there more activity than there seems to be? > > *WebKit*: No signal > > *Web developers*: No signals > > ErgonomicsEngineer from Apple believe we should not add line break > support to the Intl.Segmenter because the developer may abuse the API and > perform text layout by themselves instead of depending on CSS. The line > break feature then were removed from the specification in the current shape. > > > Will this feature be supported on all six Blink platforms (Windows, Mac, > Linux, Chrome OS, Android, and Android WebView)?Yes > > Is this feature fully tested by web-platform-tests > <https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md> > ?Yes https://github.com/tc39/test262/tree/master/test/intl402/Segmenter > > Link to entry on the Chrome Platform Status > https://www.chromestatus.com/feature/6099397733515264 > > This intent message was generated by Chrome Platform Status > <https://www.chromestatus.com/>. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOcELL-m7DZ5OAwZj9FqX9VKZKWYd_Qf0YeaXCs3YAEbcnPsKA%40mail.gmail.com > <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOcELL-m7DZ5OAwZj9FqX9VKZKWYd_Qf0YeaXCs3YAEbcnPsKA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAD649j5%3Dm2zhJ%3D%2BgFvzvwNOdVP-zQTzmsji-zP4a6JVM_nHt-A%40mail.gmail.com.
