Bug 8715

Summary: REGRESSION: Caret to the right of an image is a big black rectangle.
Product: WebKit Reporter: Justin Garcia <justin.garcia>
Component: HTML EditingAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal Keywords: EasyFix, Regression
Priority: P1    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
testcase
none
patch timothy: review+

Justin Garcia
Reported 2006-05-02 20:31:19 PDT
See the testcase
Attachments
testcase (303 bytes, text/html)
2006-05-02 20:31 PDT, Justin Garcia
no flags
patch (945 bytes, patch)
2006-05-09 22:54 PDT, Darin Adler
timothy: review+
Justin Garcia
Comment 1 2006-05-02 20:31:46 PDT
Created attachment 8089 [details] testcase
Darin Adler
Comment 2 2006-05-09 09:07:10 PDT
The bug is in RenderBox::caretRect. There's a line of code that says: rect.setWidth(m_width - caretWidth) which should instead say: rect.move(IntSize(m_width - caretWidth, 0))
Darin Adler
Comment 3 2006-05-09 22:54:06 PDT
Darin Adler
Comment 4 2006-05-12 09:40:41 PDT
Committed revision 14323.
Note You need to log in before you can comment on or make changes to this bug.