Bug 13883

Summary: -[WebHTMLView attributedSubstringFromRange:] returns a string of incorrect length
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Major CC: evan, justin.garcia
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
test case (DRT-only) none

Alexey Proskuryakov
Reported 2007-05-26 09:08:59 PDT
When asked for a substring of a contenteditable div, WebKit appends "\n" to it, thus returning a string of incorrect length; see the attached test case. I'm not sure if this is a regression, but it may well be. Evan, do you by chance have a simple way to check that?
Attachments
test case (DRT-only) (587 bytes, text/html)
2007-05-26 09:09 PDT, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2007-05-26 09:09:26 PDT
Created attachment 14736 [details] test case (DRT-only)
Note You need to log in before you can comment on or make changes to this bug.