Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
The Internet

W3C Approves DOM Level 2 29

techsoldaten writes "Web developers rejoice! W3C announced yesterday the DOM Level 2 specification has become a full recommendation. Article about it on Infoworld. The payoff for Web developers, once this recommendation has been incorporated into browsers, is cross-browser DOM scripting should become a thing of the past and XHTML will be available as a means of handling some data-related tasks within a Web page. One hole in the silver lining: the specification is not backwards compatible with DOM Level 1."
This discussion has been archived. No new comments can be posted.

W3C Approves DOM Level 2

Comments Filter:
  • by Nicopa ( 87617 ) <nico.lichtmaierNO@SPAMgmail.com> on Friday January 10, 2003 @07:25PM (#5059440)
    Mozilla already supports almost all of this (if not all). Check the DOM support in Mozilla [mozilla.org].
  • that's great (Score:3, Informative)

    by Kanasta ( 70274 ) on Saturday January 11, 2003 @05:40AM (#5061631)
    instead of having one case for each browser that exists, we first have to check which version were using and then have one case for each browser that exists

    it's no longer about waiting for everybody to support the standard, now it's about waiting for everybody to drop support for the old standard, which takes much longer
  • by Nicopa ( 87617 ) <nico.lichtmaierNO@SPAMgmail.com> on Sunday January 12, 2003 @03:41PM (#5067853)

    Evidently your knwowledge of these things is pretty limited.

    A web page in HTML4 and CSS can be much lighter than one coded in HTML 3.2. The reason for that is that using tables and the font tag is *very* verbose. With CSS you can replace several kB's of <font> along all your site with just a:

    .brochure {
    font-family: sans-serif;
    font-size: larger; }

    Then every <div class=brochure> would have these styling attributes. Suppose you want to make the heading in a brochure red:

    <div class=brochure><h2>Buy this!</h2> ....

    You don't even need to modify your HTML! You just add to the CSS (shared by all your site):

    .title h1 {
    color: red;
    }

    That should be read as "h1 inside .title".

    As you see, HTML and CSS makes web pages smaller, and more maintainable.

Scientists will study your brain to learn more about your distant cousin, Man.

Working...