Closed
Bug 549703
Opened 16 years ago
Closed 15 years ago
replaceItem() on polyline/polygon points is not implemented
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: adeveria, Unassigned)
References
Details
Attachments
(1 file)
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 GTB6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a3pre) Gecko/20100302 Minefield/3.7a3pre
The following error is returned when attempting to run replaceItem on the "points" property of a polyline/polygon element in an SVG document:
uncaught exception: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMSVGPointList.replaceItem]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"
This while points.replaceItem does appear to exist for polylines/polygons, and the similar function pathSegList.replaceItem works fine for path elements.
Reproducible: Always
Steps to Reproduce:
1. Try to replace a point of a polyline using replaceItem()
2. Note the error in the error console.
Actual Results:
An error is thrown.
Expected Results:
The point in replaced as in Opera and Webkit browsers.
Comment 2•15 years ago
|
||
Fixed by check in for bug 522308
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•