[Webkit-unassigned] [Bug 37696] New: endsOfNodeAreVisuallyDistinctPositions does not take border, padding, margin into account

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 15 22:00:52 PDT 2010


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

           Summary: endsOfNodeAreVisuallyDistinctPositions does not take
                    border, padding, margin into account
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rolandsteiner at chromium.org


Created an attachment (id=53513)
 --> (https://bugs.webkit.org/attachment.cgi?id=53513)
test case

(Similar to https://bugs.webkit.org/show_bug.cgi?id=37693 and
https://bugs.webkit.org/show_bug.cgi?id=37695)

The function endsOfNodeAreVisuallyDistinctPositions() does not take border,
padding or margin of an inline element into account. This makes it impossible
to place the caret before and just outside such an element, or at the end, just
inside the element.
I.e., there is only 1 cursor position at the boundaries when visually there
should be 2 (both just inside and just outside the element).

The attached HTML file shows the problem.

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



More information about the webkit-unassigned mailing list