[Webkit-unassigned] [Bug 50012] Moving cursor down in table cycles at the end of a row

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 2 15:41:28 PST 2011


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





--- Comment #9 from Levi Weintraub <leviw at chromium.org>  2011-02-02 15:41:28 PST ---
(In reply to comment #8)
> Created an attachment (id=80981)
 --> (https://bugs.webkit.org/attachment.cgi?id=80981&action=review) [details]
> Patch

The code improperly descended back into the same leaf node because the anchor node the last position used wasn't in a leaf position.

In nextLeafWithSameEditability, when there's no child node at the provided offset, it should traverse to the last descendant before finding the next leaf node, or it can regress like in this example.

Also, I had to update the offset in your layout test to correspond with the actual final offset.

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