|
Re: getElementById method on SVGSVGElement: msg#00024web.svg
Hi all, This is a feature that has been in a specification and implemented by viewers for over 4 years. I think deprecation needs to be reserved for features that introduce real technical issues, not things that someone finds to be a minor nuisance to implement. This is just silly, the code is attached for Java, are we really concerned about 8 lines of code? public Element getElementByID(String id) { Element e = getOwnerDocument().getElementByID(id); Node n = e; while (n != null) { if (n == this) return e; n = n.getParentNode(); } return null; } Bjoern Hoehrmann wrote: * Thomas DeWeese wrote: If you got rid of any feature that confused authors you wouldn't be left with anything. And BTW the confusion on re-using ID's is not limited to this method. And http://www.w3.org/mid/41FD3969.2070508@xxxxxxx suggests This is the message that started this thread, isn't that kind of circular? |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: getElementById method on SVGSVGElement: 00024, Bjoern Hoehrmann |
|---|---|
| Next by Date: | Re: getElementById method on SVGSVGElement: 00024, Robin Berjon |
| Previous by Thread: | Re: getElementById method on SVGSVGElementi: 00024, Bjoern Hoehrmann |
| Next by Thread: | Re: getElementById method on SVGSVGElement: 00024, Robin Berjon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |