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 12 of 12
  1. #1
    ASP
    ASP is offline
    New Coder
    Join Date
    Jun 2003
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DOM Level 2 Support

    Greetings...

    Does anyone know which IE and NN browser versions began to support DOM Level 2?

    Thanks for your help.


    Respectfully,

    ASP

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    I think IE 6 and higher and NS 6 and higher

    Some of teh DOM 2 are supported by IE 5.5 also, but i think there is not a full implementation.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    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
    IE does not support any module of DOM2 at all. It supports DOM1 HTML and DOM1 XML. Some parts of that carry over into DOM2 Core and DOM2 HTML, but that doesn't mean it really supports those modules.

    Mozilla supports:
    DOM1 HTML, DOM1 XML, DOM2 Core, DOM2 HTML, DOM2 Traversal, DOM2 Range, DOM2 Stylesheets, DOM2 CSS, DOM2 Events, DOM2 Views, and DOM3 XPath.

    Opera 7 supports:
    DOM1 HTML, DOM1 XML, DOM2 Core, DOM2 HTML, a little of DOM2 CSS, DOM2 Views, and DOM2 Events.

  • #4
    ASP
    ASP is offline
    New Coder
    Join Date
    Jun 2003
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you for your replys.


    Respectfully,

    ASP

  • #5
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    JKD - You forgot [DOM3 LS] for Mozilla, which also MSXML in ie has part support for (not much, basically only an extended version of DocumentLS, but it's there. Note that the DOM wasn't the original source for the ideas that are implemented, however. Microsoft invented it and Mozilla jumped on the train, and then W3C kinda had to give in...).

    As a detail, it should be [DOM1 Core] and not [DOM1 XML].


    KHTML (Konqueror, Safari, possibly OmniWeb4.5+):
    [DOM1 Core], [DOM1 HTML], [DOM2 Core], [DOM2 HTML], [DOM2 Views], [DOM2 Events], [DOM2 TR] (containing [DOM2 Transversal] and [DOM2 Range]), and most of [DOM2 Style] (containing [DOM2 StyleSheets] and [DOM2 CSS]). I believe [DOM3 LS] is being worked on together with the dynamic XML handling support for the moment, so that shouldn't be too far away.
    Last edited by liorean; 06-04-2003 at 09:27 PM.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #6
    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
    Mozilla implements DocumentLS.load()... that's about it (AFAIK). The Load & Save specification was in Working Draft phase last I looked, so you really can't claim compliance to a standard that is still being modified.

    Mozilla does implement XMLSeriailizer() and DOMParser(), whose functionality are equivalent to certain parts of DOM3 L&S. but those methods certainly don't exist in the specs.

  • #7
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Have a look at <http://unstable.elemental.com/mozill...hierarchy.html> to see that DOMBuilder etc. also are there. Have a look at DOMWriterFilter, DOMWriter, DOMBuilder, DOMBuilderFilter, DOMInputSource, DOMImplementationLS, DOMEntityResolver, LSLoadEvent, LSProgressEvent, and the optional DocumentLS. They only lack the optional convenience feature ElementLS. This high level of compliancy is kinda natural, since it's mozillan JST that is the Editor of this module.

    I think I can agree with you that since it's not a CR, PR, REC or standard, you can't really claim conformance to it, though. But they have it in the engine.'

    Yay - my first post to this forum from a mac!
    Last edited by liorean; 06-04-2003 at 11:23 PM.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #8
    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
    typeof document.implementation.createDOMBuilder == "undefined"

    When I check it out (build id 2003050811).

    Unless the files were checked in recently (doubtful, pretty sure there I would have seen an announcement about a DOM3 L&S implementation), they are simply just there. If you'll look at the DOM interfaces that KHTML has, you'll find a bunch of stuff that just simply isn't implemented, similar to this.

  • #9
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Oh, but this is implemented. In XUL you can use it. It's just that document.implementation in html rendering mode uses nsIDOMDOMImplementation instead of NSIDOMDOMImplementationLS. I don't know about SVG or XML rendering modes.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #10
    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
    I'm getting undefined in XMLDocument and XULDocument as well.

    I think it's about time I updated my nightly anyway...

  • #11
    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
    Alright, 2003060209 GDI+ build.

    document.implementation.createDOMBuilder and window.DOMBuilder are both undefined within instances of HTMLDocument, XMLDocument, and XULDocument.

    Last edited by jkd; 06-05-2003 at 12:56 AM.

  • #12
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Talked a bit on #mozillazine, and got to know that it's in the build, there's just nothign that uses it yet :-( Not even XUL. Seems they have to fix a few implementation issues before it's good enough to use.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards


  •  

    Posting Permissions

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