[Webkit-unassigned] [Bug 99438] [WK2][WTR] Text input controller needs selectedRange implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 26 06:51:39 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=99438





--- Comment #10 from Jussi Kukkonen (jku) <jussi.kukkonen at intel.com>  2012-10-26 06:52:48 PST ---
(From update of attachment 170910)
View in context: https://bugs.webkit.org/attachment.cgi?id=170910&action=review

> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:3346
> +    if (range && TextIterator::getLocationAndLengthFromRange(frame->selection()->rootEditableElementOrDocumentElement(), range.get(), locationSize, lengthSize)) {
> +        location = static_cast<uint64_t>(locationSize);
> +        length = static_cast<uint64_t>(lengthSize);
> +    }

Need to return false if the test here is not true, to reproduce the original mac version behaviour.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list