[Webkit-unassigned] [Bug 23605] New: positionForCoordinates() cursor placement does not match IE/FF

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 28 15:50:10 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23605

           Summary: positionForCoordinates() cursor placement does not match
                    IE/FF
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org


positionForCoordinates() cursor placement does not match IE/FF

If you click above/blow a line of text in an editable region, we place the
cursor at the start or end of that line.  FF and IE both do what Word/TextMate
do, and place the cursor at the corresponding x offset in the line.  TextEdit
matches our behavior and places the cursor at the end of the line.

In addition, we decided to test padding/margin behavior while here, and found
that FF and IE and Safari all disagree:

// When clicking between divs separated by margins in an editable
// text region, the browsers differ in behavior:
// FF3: vertical padding box + some sort of overhang decent?
// IE6/IE7: vertical padding box
// IE8 b2: margin box
// Safari3: margin box (but cursor goes at end of line)

We've fully shaved the yak, and written the end-all-be-all of clicking test
cases.  See attached.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list