[Webkit-unassigned] [Bug 21060] New: Range#surroundContents incorrectly throws BAD_BOUNDARYPOINTS_ERR

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 24 08:53:16 PDT 2008


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

           Summary: Range#surroundContents incorrectly throws
                    BAD_BOUNDARYPOINTS_ERR
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nanto at moon.email.ne.jp


The surroundContents method of a range can throw BAD_BOUNDARYPOINTS_ERR when
the container node of its boundary point is an element node, even if the range
contains no partially selected node.  See the attachment.

Actual:
BAD_BOUNDARYPOINTS_ERR is thrown.

Expected:
The em element is surrounded by the strong element.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/528+ (KHTML, like
Gecko) Version/4.0 Safari/528.1.1
WebKit-r36766


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