logo       

Re: getElementById method on SVGSVGElement: msg#00018

web.svg

Subject: Re: getElementById method on SVGSVGElement


Boris Zbarsky wrote:
At this point, from my point of view as an implementor, it just seems like an extra burden to implement this, with little basis for it existing. I can't even forward the call to Document.getElementById, since the two methods have different semantics.... The net effect is likely to be that Document.getElementById will be significantly faster in Mozilla than Element.getElementById (since for the former it makes a lot more sense to keep a global id-to-node hashtable).

Would it make sense to deprecate this method in future SVG versions?

If no one jumps forth with an objection, it would seem like a good idea indeed.

It's the former AFAIK, and indeed should be clarified with an erratum.

If I may ask, are the various errata for SVG 1.1 that I have seen brought up on this list being tracked somewhere? Is there a timeframe for publishing these errata?

They are being tracked, and someone on the WG has an action item to come up with a document to that effect. As to the timeframe, I really wish I could answer on behalf of the WG but I don't currently know it. Jonathan Watt has promised to eat his hat if the WG ever produced an errata document so I'm hoping that will serve as an extra incentive for the WG to do it fast.
--
Robin Berjon
Research Scientist
Expway, http://expway.com/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise