Closed
Bug 711958
Opened 13 years ago
Closed 13 years ago
Add a 'length' property to DOMSVGStringList
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
3.70 KB,
patch
|
dholbert
:
review+
|
Details | Diff | Splinter Review |
Follow-up from the last comment in bug 607854 comment 7. For consistency with the other list classes, we should add a 'length' property to DOMSVGStringList to mirror the 'numberOfItems' property.
Assignee | ||
Comment 1•13 years ago
|
||
Updated•13 years ago
|
Keywords: dev-doc-needed
Comment 2•13 years ago
|
||
Comment on attachment 592131 [details] [diff] [review]
patch
Looks good!
Just one thing -- fix end-of-line whitespace after "GetNumberOfItems(aLength);" here:
> NS_IMETHODIMP
>+DOMSVGStringList::GetLength(PRUint32 *aLength)
>+{
>+ return GetNumberOfItems(aLength);
>+}
r=me with that
Attachment #592131 -
Flags: review?(dholbert) → review+
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
Comment 4•13 years ago
|
||
I've documented this here, flagged as non-standard, since it's not in the spec.
https://developer.mozilla.org/en/DOM/SVGStringList
Also mentioned on Firefox 12 for developers.
Comment 5•13 years ago
|
||
I added a note on https://developer.mozilla.org/en/Firefox_12_for_developers
I assumed that SVGStringList is also indexable as an Array. Am I right?
Keywords: dev-doc-needed → dev-doc-complete
Comment 6•13 years ago
|
||
(In reply to Jeremie Patonnier from comment #5)
> I assumed that SVGStringList is also indexable as an Array. Am I right?
Sorry for the noise, Array style indexing is bug #722071
You need to log in
before you can comment on or make changes to this bug.
Description
•