[Webkit-unassigned] [Bug 72048] --webkit-visual-word should be able to reach end of text, instead of end of line
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 29 13:51:22 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=72048
--- Comment #4 from Xiaomei Ji <xji at chromium.org> 2011-11-29 13:51:21 PST ---
(From update of attachment 114580)
View in context: https://bugs.webkit.org/attachment.cgi?id=114580&action=review
>> Source/WebCore/ChangeLog:130
>> +
>
> You should remove this entry.
done
>> LayoutTests/editing/selection/move-by-word-visually-multi-line-expected.txt:42
>> +"abc def ghi jkl mn "[17, 18] FAIL expected "opq rst uvw xyz"[ 0]
>
> Why are these cases failing?
it is <div dir=rtl>abc def ghi jkl mn <div><br/></div><div><br/></div><div><br/></div>opq rst uvw xyz</div>
Let's say it is visually display as:
abc def
ghi jkl
mn
opq rst
....
Ideally, when cursor is at mn| and press ctrl(alt)-left-arrow, cursor should move to rst|.
But in current algorithm, it founds a word break at |mn and returned it.
It is not a regression introduced in this patch. The expectation changed (if you look at id="ml_8" in move-by-word-visually-multi-line.html) based on that we'd want word break stops at end of text only, not end of line.
It is not ideal, but I think it is not that a big deal either.
--
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