<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: WKContentView needs to implement UITextInput methods to make speak selection highlighting work"
href="https://bugs.webkit.org/show_bug.cgi?id=166955#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: WKContentView needs to implement UITextInput methods to make speak selection highlighting work"
href="https://bugs.webkit.org/show_bug.cgi?id=166955">bug 166955</a>
from <span class="vcard"><a class="email" href="mailto:rniwa@webkit.org" title="Ryosuke Niwa <rniwa@webkit.org>"> <span class="fn">Ryosuke Niwa</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=299684&action=diff" name="attach_299684" title="patch">attachment 299684</a> <a href="attachment.cgi?id=299684&action=edit" title="patch">[details]</a></span>
patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=299684&action=review">https://bugs.webkit.org/attachment.cgi?id=299684&action=review</a>
<span class="quote">> Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm:1870
> + while (!previous.isNull() || !next.isNull()) {
> + previous = !previous.isNull() ? previous.previous() : previous;
> + next = !next.isNull() ? next.next() : next;</span >
This is quite possibly the most inefficient way of expanding positions all the way to the beginning or the end of a document.
Why can't we just use findPlainText? Please explain in the change or in the comment.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>