Bug 37429 - Immobile text cursor in editable content with line-height<1.0625 following 100% width float
Summary: Immobile text cursor in editable content with line-height<1.0625 following 10...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, HTML5
Depends on:
Blocks:
 
Reported: 2010-04-11 19:15 PDT by Nate Whetsell
Modified: 2010-04-25 16:31 PDT (History)
0 users

See Also:


Attachments
Test document (331 bytes, text/html)
2010-04-11 19:16 PDT, Nate Whetsell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Whetsell 2010-04-11 19:15:45 PDT
Attached is a test HTML document consisting of two divs. The first div is floated left and has 100% width. The second div is editable and has line height 1. After clicking on the editable content, the text insertion cursor appears at the beginning of the editable content but cannot be moved. Text appears to be inserted in the correct location, though, and text can be highlighted as expected. The issue appears to affect the text cursor only.

If the first div's width is reduced (to 10%, for example), so that the second div is on the same line as the first, the text cursor behaves as expected. Also, if the line height of the second div is greater than or equal to 1.0625 = 1+1/16, the text cursor behaves as expected.

I have verified that this issue appears in Safari 533.5+. This issue does not appear to be present in Firefox 3.6.3.

This issue may be related to (or even a duplicate of) bug #26635.
Comment 1 Nate Whetsell 2010-04-11 19:16:23 PDT
Created attachment 53126 [details]
Test document
Comment 2 Nate Whetsell 2010-04-25 16:31:12 PDT
This issue appears to have been fixed in r58209.