[Webkit-unassigned] [Bug 55886] New: RenderBox::localCaretRect should support before/after positions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 7 11:26:18 PST 2011


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

           Summary: RenderBox::localCaretRect should support before/after
                    positions
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: leviw at chromium.org
                CC: rniwa at webkit.org


The current signature of localCaretRect doesn't cover all the types of Positions that can be tied to a container. Namely, receiving only an offset doesn't allow differentiation between the position before a container and the first one inside. Likewise for the last position inside/after. See comment here: http://trac.webkit.org/browser/trunk/Source/WebCore/rendering/RenderBox.cpp#L3016

I propose adding a boolean value such as "caretIsInsideContainer" which is used to determine whether to include border/padding.

-- 
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