Closed
Bug 782148
Opened 13 years ago
Closed 12 years ago
SVG textNode.getNumberOfChars reports 0 when it hasn't been attached to the document
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jonnew, Unassigned)
References
Details
Attachments
(1 file)
1.19 KB,
text/html
|
Details |
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"
Updated•13 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
Version: 17 Branch → Trunk
Updated•12 years ago
|
Attachment #651223 -
Attachment mime type: text/plain → text/html
Updated•12 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•