[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
Tue Feb 1 14:04:39 PST 2011


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





--- Comment #6 from jochen at chromium.org  2011-02-01 14:04:39 PST ---
(In reply to comment #4)
> (In reply to comment #1)
> > Created an attachment (id=74745)
 --> (https://bugs.webkit.org/attachment.cgi?id=74745&action=review) [details] [details]
> > layout test demonstrating the problem
> > 
> > If you try to go with e.g. page down over a part of html that contains a table, webkit will go into an endless loop in SelectionController::modify (in the for loop around line 777)
> 
> I don't understand what you mean by the endless loop.  Do you mean that pressing down key will keep moving cursor between two positions?  Or that WebKit falls into an infinite loop and does not respond?

I discovered the issue while using page-down to scroll through an reply to an html mail in gmail. In that case, WebKit falls into an infinite loop and does not respond.

After adding some debug output, I figured out that the current editing position was inside a table and WebKit got stuck in SelectionController::modify (the for loop in line 845-860.

The layout test demonstrates the underlying issue. When you press down at the end of the table, you should stay at the end. Instead, you jump again to the beginning of the table. That's what's causing the endless loop IMO.

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