[Webkit-unassigned] [Bug 85017] enable ctrl-arrow move by word visually in other platforms (besides Windows)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 30 17:39:08 PDT 2012


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





--- Comment #13 from Levi Weintraub <leviw at chromium.org>  2012-04-30 17:39:07 PST ---
(From update of attachment 139541)
View in context: https://bugs.webkit.org/attachment.cgi?id=139541&action=review

>>> LayoutTests/editing/selection/move-by-word-visually-mac-expected.txt:103
>>> +"    abc    def    hij    opq    "[28, 22, 15, 8, 4]
>> 
>> Why is the second position 22? Shouldn't it be 25? And then 18, 11, then 4?
>> It seems odd to use a position between whitespaces like this.
> 
> that is what returned in VisiblePosition. (22) and (25) should be equivalent. But I am not sure how our space collapse works.

This worries me. I'm not saying this is right or wrong, but as a frequent breaker of test expectations, I'd like to understand this weird behavior in the event that this expectation changes with a future patch. Could you help us understand why this happens a little better, then maybe explicitly call it out in the changelog or explain it here and provide a link to this bug in the test?

-- 
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