Results 41 - 60 of 1,243

TreeWalker.parentNode()

The TreeWalker.parentNode() method moves the current Node to the first visible ancestor node in the document order, and returns the found node. If no such node exists, or if it is above the TreeWalker's root node, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker

TreeWalker.previousNode()

The TreeWalker.previousNode() method moves the current Node to the previous visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists,or if it is before that the root node defined at the object construction, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker

Window.captureEvents()

Registers the window to capture all events of the specified type.
API DOM DOM_0 Gecko Method Non-standard

Window.dump()

Prints messages to the (native) console.
API DOM DOM_0 Method Non-standard

Window.openDialog()

window.openDialog() is an extension to window.open(). It behaves the same, except that it can optionally take one or more parameters past windowFeatures, and windowFeatures itself is treated a little differently.
API DOM DOM_0 Gecko Method Non-standard

Window.releaseEvents()

Releases the window from trapping events of a specific type.
API DOM DOM_0 Method Non-standard

Window.scrollByLines()

Scrolls the document by the given number of lines.
API DOM DOM_0 Method Non-standard Window

Window.scrollMaxX

Returns the maximum number of pixels that the document can be scrolled horizontally.
API DOM DOM_0 Gecko Non-standard Property

XSLTProcessor

An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output. It has methods to load the XSLT stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents.
API DOM DOM Reference Reference XSLT

Attr

This type represents a DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types.
API DOM NeedsBrowserCompatibility

Document

The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. The DOM tree includes elements such as <body> and <table>, among many others. It provides functionality global to the document, like how to obtain the page's URL and create new elements in the document.
API DOM Interface Reference

Document.createAttribute()

The Document.createAttribute() method creates a new attribute node, and returns it. The object created a node implementing the Attr interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
API DOM Method Reference

Document.currentScript

Returns the <script> element whose script is currently being processed.
API DOM Property Reference

Document.elementsFromPoint()

The elementsFromPoint() method of the Document interface returns an array of all elements at the specified coordinates.
API DOM Reference

Document.loadOverlay()

The loadOverlay() method loads a XUL overlay and merges it with the current document, notifying an observer when the merge is complete.
API DOM Method Reference

Document.popupNode

When a popup attached via the popup or context attributes is opened, the XUL document's popupNode property is set to the node that was clicked on. This will be the target of the mouse event that activated the popup. If the popup was opened via the keyboard, the popup node may be set to null. Typically, this property will be checked during a popupshowing event handler for a context menu to initialize the menu based on the context.
API DOM Property Reference