[Webkit-unassigned] [Bug 24763] New: Position should support neighbor-anchored positions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 23 13:18:53 PDT 2009


           Summary: Position should support neighbor-anchored positions
           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

Position should support neighbor-anchored positions

I'm using this as a tracking bug, for the introduction of neighbor anchored
positions.  I have some patches in my tree I could upload here for examples as
to what I mean.

Right now we have Position which can hold [node, offset], but sometimes [node,
0] means "first offset in node" and sometimes it means "last offset before
node", based on whether or not editingIgnoresContent(node) returns true or not.

I plan to change this so that neighbor-anchoring or container-anchoring is
explicit in the Position object.  Then we can have a position [table, 0] which
means "first offset in the table" (which we can't currently express using a
Position object since tables are ignored content for editing).

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