Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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...

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    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...

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Newcastle, England
    Posts
    178
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Great idea to give up on NS4!

    patrick

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ya, trying to realiably code for NS4.x leads to and and eventually


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •