Bug 36110

Summary: selection.modify("extend", "backward", "lineboundary") should move the caret to the beginning of the line.
Product: WebKit Reporter: Hajime Morrita <morrita>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
test case none

Hajime Morrita
Reported 2010-03-15 02:25:16 PDT
Created attachment 50696 [details] test case selection.modify("extend", "backward", "lineboundary") moves caret at the beginning of the textbox. It should move the caret to the beginning of the line. test attached.
Attachments
test case (883 bytes, text/html)
2010-03-15 02:25 PDT, Hajime Morrita
no flags
Alexey Proskuryakov
Comment 1 2010-03-15 11:27:46 PDT
The test doesn't quite match bug description. In the test, a caret "selection" is first extended to the end of document, and then extended back. In TextEdit, the second operation is a no-op (tested as Cmd+Shift+Down, Cmd+Shift+Up), because it tries to extend selection back from its anchor, which is still at the beginning of the document.
Hajime Morrita
Comment 2 2010-03-15 18:51:16 PDT
Comment on attachment 50696 [details] test case Thank you for your comment, and I'm sorry for the confusing testcase. My expectation was wrong. And the selection behavior is also wrong... I'll investigate more around here, then I'll file the bug(s) in more organized way.
Ryosuke Niwa
Comment 3 2010-08-19 18:04:17 PDT
Can we close this bug with WONTFIX now?
Hajime Morrita
Comment 4 2010-08-22 21:22:44 PDT
Ah, this report is just wrong. So i'm closing this as invalid. Ryosuke, thank you for this remind.
Note You need to log in before you can comment on or make changes to this bug.