Bug 37693 - cursor gets trapped when border-style: dashed is used
Summary: cursor gets trapped when border-style: dashed is used
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-15 20:22 PDT by Tony Chang
Modified: 2012-05-25 20:20 PDT (History)
2 users (show)

See Also:


Attachments
test case (458 bytes, text/html)
2010-04-15 20:22 PDT, Tony Chang
no flags Details
Patch (2.38 KB, patch)
2012-05-25 17:32 PDT, Sukolsak Sakshuwong
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Chang 2010-04-15 20:22:56 PDT
Created attachment 53507 [details]
test case

In the attached test case, if you press the down arrow while on the beginning of the first line, it jumps to the beginning of the dashed section.  From there, pressing down does nothing.

The expected behavior is that the down arrow goes to the next line.  In the test case, the line has to wrap to repro (i.e., make sure your browser window isn't too wide).
Comment 1 Sukolsak Sakshuwong 2012-05-25 14:57:33 PDT
This bug has been fixed between revisions 89055 (fail) and 89131 (OK).
Comment 2 Tony Chang 2012-05-25 15:57:24 PDT
(In reply to comment #1)
> This bug has been fixed between revisions 89055 (fail) and 89131 (OK).

Great!  Let's add the test case to LayoutTests.
Comment 3 Sukolsak Sakshuwong 2012-05-25 17:32:46 PDT
Created attachment 144176 [details]
Patch
Comment 4 Tony Chang 2012-05-25 19:29:52 PDT
Comment on attachment 144176 [details]
Patch

We might line wrap at a different word on different platforms, but I think using Ahem will make it OK.
Comment 5 WebKit Review Bot 2012-05-25 20:20:32 PDT
Comment on attachment 144176 [details]
Patch

Clearing flags on attachment: 144176

Committed r118604: <http://trac.webkit.org/changeset/118604>
Comment 6 WebKit Review Bot 2012-05-25 20:20:36 PDT
All reviewed patches have been landed.  Closing bug.