We should probably use a union in the DOMSVGXxx list item classes to save memory. The nsRefPtr<DOMSVGXxxList> member and mValue member are not used at the same time. We can probably best do this by stealing one of the bit flags.
Note that we'd need to manually addref/release mList which could be a pain.
You need to log in before you can comment on or make changes to this bug.