[Webkit-unassigned] [Bug 24677] New: Range#surroundContents is inserting empty text nodes into the document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 18 13:17:37 PDT 2009


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

           Summary: Range#surroundContents is inserting empty text nodes
                    into the document
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://www.nick-santos.com/tests/webkit_range_test.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nicksantos at google.com
                CC: eric at webkit.org, jparent at google.com


Repro steps:
1) Create a range over the text "---[ANCHOR]Text to <br/> split[FOCUS]---"
2) Call range.surroundContents(someElement)

Results:
A 0-length text node is inserted after [FOCUS]
This is happening in 528 and 530 on Windows.

You can visit
http://www.nick-santos.com/tests/webkit_range_test.html
for a simple test case.

I don't make very good cookies, but Julie says that she will award a cookie to
the person that fixes this.


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