Sunday, November 25, 2007

Definitive of DOM

Perhaps the most important piece of the DHTML puzzle is a specification for the
Document Object Model. I assign more weight to the DOM than to, say, CSS-P,
because it is the definition of a standard DOM that scripters will rely on for crossplatform
consistency in their scripts. An inconsistency among document object
models for Internet Explorer 3 and Navigator 3—particularly the lack of an Image
object in Internet Explorer 3—caused no little grief among scripters who
developed mouse rollover scripts in Navigator 3, only to have them cause script
errors for Internet Explorer 3 users.
Given the split evolution of document object models in Navigator and Internet
Explorer (especially with their divergence in level 4 versions), a recognized DOM
standard for scriptable objects will be difficult to achieve. The more each platform
has invested in the installed base of its existing document object model, the more
difficult it will be to reach a consensus, which may require rolling back features to
reach a scriptable common denominator.
Of all the standards efforts described in this chapter, the Document Object
Model is the least far along in its development. As of this writing, the most recent
document is the working draft of HTML-specific syntax. The W3C has assumed
responsibility for this standard. The earliest its results will reach browsers is
perhaps the level 5 versions of Navigator and Internet Explorer.


Powered by ScribeFire.

Related Posts sesuai kategori



0 comments: