Helpful Information
 
 
Category: DOM and JSON scripting
DOM browser support

I've decided to give up on NS4, as it's seeming more and more like a waste of time, so I've run out of reasons not to learn the DOM... but before I start, I have a question - how well is it truly supported by browsers? Do all the browsers actually adhere to the W3C standards? If the W3C tells me something exists in DOM, will I be able to use it without worrying that even though a browser supports DOM, it might not be completely compatible with it?

I've spent so long writing almost every piece of code 2-3 times over for browser compatibility that I'm wary of anything that is supposively standardized... :(

IE5+ supports DOM1 Core and DOM1 HTML, though getElementsByTagName('*') was only supported since IE6. IE5/Mac has slightly better DOM support I hear.

NS6/NS7/Mozilla (anything Gecko-based) supports all of DOM1, and all of DOM2 except for missing the NodeIterator interface in Traversal-Range, and a few things in the DOM2 Style specs. Recent Gecko builds also support the DOM3 XPath interface.

Opera as far as I can tell supports a limited amount of DOM1. Opera 7 may support more, but I don't know as I'm not beta testing it...

Great idea to give up on NS4!

patrick

Ya, trying to realiably code for NS4.x leads to http://www.sitepointforums.com/images/smilies/brickwall.gif and http://www.sitepointforums.com/images/smilies/crash.gif and eventually http://www.sitepointforums.com/images/smilies/goof.gif










privacy (GDPR)