Closed Bug 782148 Opened 11 years ago Closed 10 years ago
Node .get Number Of Chars reports 0 when it hasn't been attached to the document
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.75 Safari/537.1 Steps 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() Actual results: The method returns 0. Expected results: The method should return 5, the number of characters in "hello"
Component: Untriaged → SVG
Product: Firefox → Core
Version: 17 Branch → Trunk
Attachment #651223 - Attachment mime type: text/plain → text/html
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Depends on: svgtext
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.