Summary: | Can't use selection.modify() to move/extend a non-editable selection | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sridhar Gurivireddy <just1gb> | ||||
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | justin.garcia | ||||
Priority: | P2 | ||||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
URL: | http://just1gb.googlepages.com/selection.html | ||||||
Attachments: |
|
Description
Sridhar Gurivireddy
2007-05-24 10:25:26 PDT
Selection::modify is Safari only, FF doesn't support it afaict. I'm not sure why you'd be having problems with selection.modify("move", "forward", "sentence"), can you include the entire test case? Created attachment 14769 [details]
Test file
Please use the attached file
I see. The test tries to modify a non-editable selection. Marking confirmed per the above comment (there doesn't seem to be any reason to restrict selection.modify() to editable content). |