[webkit-dev] what is sentencegranularity?

Ojan Vafai ojan at chromium.org
Wed Mar 10 13:05:58 PST 2010

The topic of sentencegranularity selections came up in
https://bugs.webkit.org/show_bug.cgi?id=33413. I'm trying to understand,
moving forward, how to test the correct behavior for sentencegranularity.

As best I can tell, it's not a Mac platform-ism. SentenceGranularity is not
supported in NSTextView. Looking at the code, sentenceboundary seems to be
unused except it's exposed to the Web via document.execCommand and
selection.modify. It was added in http://trac.webkit.org/changeset/13849.
Does Safari still use it in AX code or is it leftover? If the former, is
there anything other than the layout tests to rely on for determining the
expected behavior is?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100310/c11702ad/attachment.html>

More information about the webkit-dev mailing list