Closed
Bug 821960
Opened 12 years ago
Closed 12 years ago
Setting expandos on SVGAnimatedAngle.baseVal/animVal does not work because they return new object every time
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: dzbarsky, Assigned: longsonr)
Details
Attachments
(1 file)
(deleted),
patch
|
jwatt
:
review+
dzbarsky
:
feedback+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Is this what you're looking for?
Assignee: nobody → longsonr
Attachment #692602 -
Flags: review?(jwatt)
Attachment #692602 -
Flags: feedback?(dzbarsky)
Reporter | ||
Comment 2•12 years ago
|
||
Comment on attachment 692602 [details] [diff] [review]
patch
This should do it. Is it really worth it to use a tearoff table instead of just storing the baseval/animval in the class? Note that SVGAnimatedTransformList does the latter.
Also, this will conflict with a lot of the patches for bug 816778.
Attachment #692602 -
Flags: feedback?(dzbarsky) → feedback+
Assignee | ||
Comment 3•12 years ago
|
||
Other SVG content classes do this nsSVGLength2 and the length list classes.
We used to store the base/anim val in classes but moved away from that between Firefox 3.6 and Firefox 4.
Comment 4•12 years ago
|
||
(In reply to David Zbarsky (:dzbarsky) from comment #2)
> Is it really worth it to use a tearoff table instead of
> just storing the baseval/animval in the class?
Yes. There are a lot of them, and having them all stored in the element classes would add a lot of bloat.
Updated•12 years ago
|
Attachment #692602 -
Flags: review?(jwatt) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•