[Webkit-unassigned] [Bug 35960] New: Selector.modify() behaves differently with same selection range from different creation sequence

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 10 01:13:37 PST 2010


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

           Summary: Selector.modify() behaves differently with same
                    selection range from different creation sequence
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: morrita at google.com


Offsets after Selector.modify() call differs between 2 different range creation
sequence:

1. using setBaseAndExtent()
2. using setPosition() followed by modify("extend")

Note both creation sequences result same offset pair(startOffset, endOffset).
This can be problematic because this would make hard to restore selection
programatically.

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