Summary: | REGRESSION: firstCharacterForRange(0, 0) returns a 0x0 rect | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | mitz | ||||
Component: | HTML Editing | Assignee: | Alexey Proskuryakov <ap> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap | ||||
Priority: | P2 | ||||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
mitz
2005-12-29 16:56:23 PST
Created attachment 5369 [details] band-aid fix Looks like an indirect result of issues described in bug 5610: the range returned for (0, 0) in these tests is (#text, 1)-(#text,1) rather than (#text, 0)-(#text,0) - and the latter or equivalent don't give correct results in firstRectForDOMRange (which may be a separate issue). Going to cleanup this further as part of the investigation on 5610... r=me, looks like an ok fix for now if it gets the tests passing and doesn't break anything. |