[Webkit-unassigned] [Bug 123871] New: Fix out-of-date offset in selection range code in range.surroundContents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 5 22:20:32 PST 2013


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

           Summary: Fix out-of-date offset in selection range code in
                    range.surroundContents
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: darin at apple.com, ap at webkit.org,
                    webkit-bug-importer at group.apple.com


Merge https://chromium.googlesource.com/chromium/blink/+/c89b413ff0fc4aafa0c71d180b0b1e131bb37707

Code in Range::insertNode assumes that the start offset of the selection
range within its container does not change across a call to insertBefore
on the container, which is not true. This patch recomputes the start
offset when it is used after the insertBefore call.

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