[Webkit-unassigned] [Bug 93784] New: SVG textNode.getNumberOfChars reports 0 when it hasn't been attached to the document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 12 13:26:47 PDT 2012


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

           Summary: SVG textNode.getNumberOfChars reports 0 when it hasn't
                    been attached to the document
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jonnew at gmail.com
                CC: zimmermann at kde.org


Created an attachment (id=157908)
 --> (https://bugs.webkit.org/attachment.cgi?id=157908&action=review)
Demonstrates incorrect value for textNode.getNumberOfChars()

To reproduce:
1. Dynamically create an SVG node, an SVG text node, and a text element
2. Add the text "hello" to the text element, and append the text element to the text node, and the text node to the svg node.
3. On the text node call getNumberOfChars()

What is the expected result?
5, the number of characters in "hello"

What happens instead?
0

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