DOM improvements in Firefox 3

  • Revision slug: DOM_improvements_in_Firefox_3
  • Revision title: DOM improvements in Firefox 3
  • Revision id: 168325
  • Created:
  • Creator: Brettz9
  • Is current revision? No
  • Comment comma placement

Revision Content

{{template.Fx_minversion_header(3)}}

Firefox 3 offers a number of improvements to the Document Object Model (DOM), especially in regard to support for extensions to the DOM added by other browsers. This article provides a list of those improvements as well as links to more detailed documentation.

See also



{{ wiki.languages( { "es": "es/Mejoras_DOM_en_Firefox_3", "fr": "fr/Am\u00e9liorations_DOM_dans_Firefox_3", "ja": "ja/DOM_improvements_in_Firefox_3" } ) }}

Revision Source

<p>{{template.Fx_minversion_header(3)}}
</p><p>Firefox 3 offers a number of improvements to the <a href="en/DOM">Document Object Model</a> (DOM), especially in regard to support for extensions to the DOM added by other browsers.  This article provides a list of those improvements as well as links to more detailed documentation.
</p>
<ul><li>The Internet Explorer <code><a href="en/DOM/element.clientTop">clientTop</a></code> and <code><a href="en/DOM/element.clientLeft">clientLeft</a></code> DOM extensions are now supported.
</li><li> The <code><a href="en/DOM/window.fullScreen">window.fullScreen</a></code> property is now always accurate no matter where it is read, even in content. Previously it would return <code>false</code> inaccurately ({{template.Bug(127013)}}).
</li><li> The <code><a href="en/DOM/element.getClientRects">getClientRects</a></code> and <code><a href="en/DOM/element.getBoundingClientRect">getBoundingClientRect</a></code> DOM extensions are now supported (see {{template.Bug(174397)}}).
</li><li> The Internet Explorer <code><a href="en/DOM/document.elementFromPoint">elementFromPoint</a></code> DOM extension is now supported ({{template.Bug(199692)}}).
</li><li> The Internet Explorer <code><a href="en/DOM/element.oncut">oncut</a></code>, <code><a href="en/DOM/element.oncopy">oncopy</a></code>, <code><a href="en/DOM/element.onpaste">onpaste</a></code>, <code><a href="en/DOM/element.onbeforecut">onbeforecut</a></code>, <code><a href="en/DOM/element.onbeforepaste">onbeforecopy</a></code> and <code><a href="en/DOM/element.onbeforepaste">onbeforepaste</a></code> DOM extensions are now supported ({{template.Bug(280959)}}).
</li><li> Added privileged-code-only getters for <code>Node.nodePrincipal</code>, <code>Node.baseURIObject</code>, and <code><a href="en/DOM/document.documentURIObject">document.documentURIObject</a></code>.  Chrome code must not touch (get or set) these properties on an unwrapped content object (e.g. on a <code>wrappedJSObject</code> of an <code><a href="en/XPCNativeWrapper">XPCNativeWrapper</a></code>), see {{template.Bug(324464)}} for details.
</li></ul>
<h3 name="See_also">See also</h3>
<ul><li><a href="en/Firefox_3_for_developers">Firefox 3 for developers</a>
</li><li><a href="en/CSS_improvements_in_Firefox_3">CSS improvements in Firefox 3</a>
</li><li><a href="en/DOM">DOM</a>
</li></ul>
<p><br>
</p><p><br>
</p>
<div class="noinclude">
</div>
{{ wiki.languages( { "es": "es/Mejoras_DOM_en_Firefox_3", "fr": "fr/Am\u00e9liorations_DOM_dans_Firefox_3", "ja": "ja/DOM_improvements_in_Firefox_3" } ) }}
Revert to this revision