Subclasses

Attributes

From nsIBoxObject


          
readonly attribute nsIDOMElement element

          
readonly attribute nsIDOMElement firstChild

          
readonly attribute nsIDOMElement lastChild

          
readonly attribute nsIDOMElement nextSibling

          
readonly attribute nsIDOMElement parentBox

          
readonly attribute nsIDOMElement previousSibling

From nsIDOMAttr


          
readonly attribute nsIDOMElement ownerElement

From nsIDOMDocument


          
readonly attribute nsIDOMElement documentElement

From nsIDOMNSDocument


          
readonly attribute nsIDOMElement activeElement

From nsIDOMNSElement

 Similar as the attributes on nsIDOMNode, but navigates just elements
 rather than all nodes.

 Defined by the ElementTraversal spec.
readonly attribute nsIDOMElement firstElementChild

          
readonly attribute nsIDOMElement lastElementChild

          
readonly attribute nsIDOMElement nextElementSibling

          
readonly attribute nsIDOMElement previousElementSibling

From nsIDOMNSHTMLElement


          
readonly attribute nsIDOMElement offsetParent

From nsIDOMWindowInternal


          
readonly attribute nsIDOMElement frameElement

From nsIDOMXPathNamespace


          
readonly attribute nsIDOMElement ownerElement

From nsIDOMXULCommandDispatcher


          
attribute nsIDOMElement focusedElement

From nsIDOMXULTreeElement


          
readonly attribute nsIDOMElement body

From nsIEditor

 the body element, i.e. the root of the editable document.
readonly attribute nsIDOMElement rootElement

From nsIFocusManager

 The element that is currently focused. This will always be an element
 within the document loaded in focusedWindow or null if no element in that
 document is focused.
readonly attribute nsIDOMElement focusedElement

From nsIHTMLAbsPosEditor

 returns the deepest absolutely positioned container of the selection
 if it exists or null.
readonly attribute nsIDOMElement absolutelyPositionedSelectionContainer
 this contains the absolutely positioned element currently edited
 or null
readonly attribute nsIDOMElement positionedElement

From nsIHTMLObjectResizer

 the element currently displaying resizers
readonly attribute nsIDOMElement resizedObject

From nsIMenuBoxObject


          
attribute nsIDOMElement activeChild

From nsIPluginTagInfo

 Returns the DOM element corresponding to the tag which references
 this plugin in the document.

 @param aDOMElement - resulting DOM element
 @result - NS_OK if this operation was successful
readonly attribute nsIDOMElement DOMElement

From nsITreeBoxObject

 Obtain the treebody content node
readonly attribute nsIDOMElement treeBody

From nsITreeColumn


          
readonly attribute nsIDOMElement element

From nsITypeAheadFind


          
readonly attribute nsIDOMElement foundEditable

          
readonly attribute nsIDOMElement foundLink

From nsIWebBrowserFocus

 The currently focused nsDOMElement when the browser is active,
 or the last focused nsDOMElement when the browser is inactive.
attribute nsIDOMElement focusedElement

From nsIXMLContentBuilder


          
readonly attribute nsIDOMElement current

          
readonly attribute nsIDOMElement root

From nsIXTFElementWrapper


          
readonly attribute nsIDOMElement documentFrameElement

          
readonly attribute nsIDOMElement elementNode

From nsIXULTemplateBuilder

 The root node in the DOM to which this builder is attached.
readonly attribute nsIDOMElement root

Returns

From nsIDOMDocument


          
nsIDOMElement createElement(in DOMString tagName)

          
nsIDOMElement createElementNS(in DOMString namespaceURI, in DOMString qualifiedName)

          
nsIDOMElement getElementById(in DOMString elementId)

From nsIDOMDocumentXBL


          
nsIDOMElement getAnonymousElementByAttribute(in nsIDOMElement elt, in DOMString attrName, in DOMString attrValue)

          
nsIDOMElement getBindingParent(in nsIDOMNode node)

From nsIDOMNSDocument

 Returns the element from the caller's document at the given point,
 relative to the upper-left-most point in the (possibly scrolled)
 window or frame.

 If the element at the given point belongs to another document (such as
 an iframe's subdocument), the element in the calling document's DOM
 (e.g. the iframe) is returned. If the element at the given point is
 anonymous or XBL generated content, such as a textbox's scrollbars, then
 the first non-anonymous parent element (that is, the textbox) is returned.

 This method returns null if either coordinate is negative, or if the
 specified point lies outside the visible bounds of the document.

 Callers from XUL documents should wait until the onload event has fired
 before calling this method.

 <a href="http://dev.w3.org/cvsweb/~checkout~/csswg/cssom/Overview.html?content-type=text/html;%20charset=utf-8#documentlayout-elementfrompoint">preliminary spec</a>
nsIDOMElement elementFromPoint(in long x, in long y)

From nsIDOMNodeSelector


          
nsIDOMElement querySelector(in DOMString selectors)

From nsIDOMSVGSVGElement


          
nsIDOMElement getElementById(in DOMString elementId)

From nsIDOMWindowUtils

 Retrieve the element at point aX, aY in the window's document.

 @param aIgnoreRootScrollFrame whether or not to ignore the root scroll
        frame when retrieving the element. If false, this method returns
        null for coordinates outside of the viewport.
 @param aFlushLayout flushes layout if true. Otherwise, no flush occurs.
nsIDOMElement elementFromPoint(in long aX, in long aY, in boolean aIgnoreRootScrollFrame, in boolean aFlushLayout)

From nsIFocusManager

 Returns the currently focused element within aWindow. If aWindow is equal
 to the current value of focusedWindow, then the returned element will be
 the application-wide focused element (the value of focusedElement). The
 return value will be null if no element is focused.

 If aDeep is true, then child frames are traversed and the return value
 may be the element within a child descendant window that is focused. If
 aDeep if false, then the return value will be the frame element if the
 focus is in a child frame.

 aFocusedWindow will be set to the currently focused descendant window of
 aWindow, or to aWindow if aDeep is false. This will be set even if no
 element is focused.

 @throws NS_ERROR_INVALID_ARG if aWindow is null
nsIDOMElement getFocusedElementForWindow(in nsIDOMWindow aWindow, in PRBool aDeep, out nsIDOMWindow aFocusedWindow)
 Move the focus to another element. If aStartElement is specified, then
 movement is done relative to aStartElement. If aStartElement is null,
 then movement is done relative to the currently focused element. If no
 element is focused, focus the first focusable element within the
 document (or the last focusable element if aType is MOVEFOCUS_END). This
 method is equivalent to setting the focusedElement to the new element.

 Specifying aStartElement and using MOVEFOCUS_LAST is not currently
 implemented.

 If no element is found, and aType is either MOVEFOCUS_ROOT or
 MOVEFOCUS_CARET, then the focus is cleared. If aType is any other value,
 the focus is not changed.

 Returns the element that was focused.
nsIDOMElement moveFocus(in nsIDOMWindow aWindow, in nsIDOMElement aStartElement, in unsigned long aType, in unsigned long aFlags)

From nsIHTMLEditor

 Returns an anonymous nsDOMElement of type aTag,
 child of aParentNode. If aIsCreatedHidden is true, the class
 "hidden" is added to the created element. If aAnonClass is not
 the empty string, it becomes the value of the attribute "_moz_anonclass"
 @return a DOM Element
 @param aTag             [IN] a string representing the desired type of
                              the element to create
 @param aParentNode      [IN] the parent node of the created anonymous
                              element
 @param aAnonClass       [IN] contents of the _moz_anonclass attribute
 @param aIsCreatedHidden [IN] a boolean specifying if the class "hidden"
                              is to be added to the created anonymous
                              element
nsIDOMElement createAnonymousElement(in AString aTag, in nsIDOMNode aParentNode, in AString aAnonClass, in boolean aIsCreatedHidden)
 
 Return a new element with default attribute values
 
 This does not rely on the selection, and is not sensitive to context.
 
 Used primarily to supply new element for various insert element dialogs
  (Image, Link, NamedAnchor, Table, and HorizontalRule 
   are the only returned elements as of 7/25/99)

 @param aTagName  The HTML tagname
    Special input values for Links and Named anchors:
    Use "href" to get a link node
      (an "A" tag with the "href" attribute set)
    Use "anchor" or "namedanchor" to get a named anchor node
      (an "A" tag with the "name" attribute set)
 @return          The new element created.
nsIDOMElement createElementWithDefaults(in AString aTagName)
 
 Return the input node or a parent matching the given aTagName,
   starting the search at the supplied node.
 An example of use is for testing if a node is in a table cell
   given a selection anchor node.

 @param aTagName  The HTML tagname
  Special input values:
    Use "href" to get a link node 
      (an "A" tag with the "href" attribute set)
    Use "anchor" or "namedanchor" to get a named anchor node
      (an "A" tag with the "name" attribute set)
    Use "list" to get an OL, UL, or DL list node
    Use "td" to get either a TD or TH cell node

 @param aNode    The node in the document to start the search.
     If it is null, the anchor node of the current selection is used.
 @return         NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found
                 (passes NS_SUCCEEDED macro)
nsIDOMElement getElementOrParentByTagName(in AString aTagName, in nsIDOMNode aNode)
 
 Return an element only if it is the only node selected,
    such as an image, horizontal rule, etc.
 The exception is a link, which is more like a text attribute:
    The Anchor tag is returned if the selection is within the textnode(s)
    that are children of the "A" node.
    This could be a collapsed selection, i.e., a caret
    within the link text.

 @param aTagName  The HTML tagname or and empty string 
       to get any element (but only if it is the only element selected)
    Special input values for Links and Named anchors:
    Use "href" to get a link node
      (an "A" tag with the "href" attribute set)
    Use "anchor" or "namedanchor" to get a named anchor node
      (an "A" tag with the "name" attribute set)
 @return          NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found
                  (passes NS_SUCCEEDED macro)
nsIDOMElement getSelectedElement(in AString aTagName)
 returns the deepest container of the selection
 @return a DOM Element
nsIDOMElement getSelectionContainer()

From nsIListBoxObject


          
nsIDOMElement getItemAtIndex(in long index)

From nsITableEditor

 Get a cell element at cellmap grid coordinates
 A cell that spans across multiple cellmap locations will
   be returned multiple times, once for each location it occupies

 @param aTable                   A table in the document
 @param aRowIndex, aColIndex     The 0-based cellmap indexes

 (in C++ returns: NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found
  passes NS_SUCCEEDED macro)

   You can scan for all cells in a row or column
   by iterating through the appropriate indexes
   until the returned aCell is null
nsIDOMElement getCellAt(in nsIDOMElement aTable, in long aRowIndex, in long aColIndex)
 Get first selected element from first selection range.
   (If multiple cells were selected this is the first in the order they were selected)
 Assumes cell-selection model where each cell
 is in a separate range (selection parent node is table row)
 @param aCell     [OUT] Selected cell or null if ranges don't contain
                  cell selections
 @param aRange    [OUT] Optional: if not null, return the selection range 
                     associated with the cell
 Returns the DOM cell element
   (in C++: returns NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found
    passes NS_SUCCEEDED macro)
nsIDOMElement getFirstSelectedCell(out nsIDOMRange aRange)
 Get first selected element in the table
   This is the upper-left-most selected cell in table,
   ignoring the order that the user selected them (order in the selection ranges)
 Assumes cell-selection model where each cell
 is in a separate range (selection parent node is table row)
 @param aCell       Selected cell or null if ranges don't contain
                    cell selections
 @param aRowIndex   Optional: if not null, return row index of 1st cell
 @param aColIndex   Optional: if not null, return column index of 1st cell

 Returns the DOM cell element
   (in C++: returns NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found
    passes NS_SUCCEEDED macro)
nsIDOMElement getFirstSelectedCellInTable(out long aRowIndex, out long aColIndex)
 Get next selected cell element from first selection range.
 Assumes cell-selection model where each cell
 is in a separate range (selection parent node is table row)
 Always call GetFirstSelectedCell() to initialize stored index of "next" cell
 @param aCell     Selected cell or null if no more selected cells
                     or ranges don't contain cell selections
 @param aRange    Optional: if not null, return the selection range 
                     associated with the cell

 Returns the DOM cell element
   (in C++: returns NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found
    passes NS_SUCCEEDED macro)
nsIDOMElement getNextSelectedCell(out nsIDOMRange aRange)
 Examine the current selection and find
   a selected TABLE, TD or TH, or TR element.
   or return the parent TD or TH if selection is inside a table cell
   Returns null if no table element is found.

 @param aTagName         The tagname of returned element
                         Note that "td" will be returned if name
                         is actually "th"
 @param aCount           How many table elements were selected
                         This tells us if we have multiple cells selected
                           (0 if element is a parent cell of selection)
 @return                 The table element (table, row, or first selected cell)

nsIDOMElement getSelectedOrParentTableElement(out AString aTagName, out long aCount)
 Create a new TD or TH element, the opposite type of the supplied aSourceCell
   1. Copy all attributes from aSourceCell to the new cell
   2. Move all contents of aSourceCell to the new cell
   3. Replace aSourceCell in the table with the new cell

  @param aSourceCell   The cell to be replaced
  @return              The new cell that replaces aSourceCell
nsIDOMElement switchTableCellHeaderType(in nsIDOMElement aSourceCell)

From nsITreeContentView

 Retrieve the content item associated with the specified index.
nsIDOMElement getItemAtIndex(in long index)

From nsIUpdate

 Serializes this update object into a DOM Element
 @param   updates
          The document to serialize into
 @returns The DOM Element created by the serialization process
nsIDOMElement serialize(in nsIDOMDocument updates)

From nsIUpdatePatch

 Serializes this patch object into a DOM Element
 @param   updates
          The document to serialize into
 @returns The DOM Element created by the serialization process
nsIDOMElement serialize(in nsIDOMDocument updates)

Parameters

From inIDOMUtils


          
nsIArray getBindingURLs(in nsIDOMElement aElement)

          
nsISupportsArray getCSSStyleRules(in nsIDOMElement aElement)

          
long getContentState(in nsIDOMElement aElement)

          
void setContentState(in nsIDOMElement aElement, in long aState)

From inIFlasher


          
void drawElementOutline(in nsIDOMElement aElement)

          
void repaintElement(in nsIDOMElement aElement)

          
void scrollElementIntoView(in nsIDOMElement aElement)

From nsIAutoCompletePopup


          
void openAutocompletePopup(in nsIAutoCompleteInput input, in nsIDOMElement element)

From nsIDOMDataTransfer


          
void addElement(in nsIDOMElement element)
 Set the image to be used for dragging if a custom one is desired. Most of
 the time, this would not be set, as a default image is created from the
 node that was dragged.

 If the node is an HTML img element, an HTML canvas element or a XUL image
 element, the image data is used. Otherwise, image should be a visible
 node and the drag image will be created from this. If image is null, any
 custom drag image is cleared and the default is used instead.

 The coordinates specify the offset into the image where the mouse cursor
 should be. To center the image for instance, use values that are half the
 width and height.

 @param image a node to use 
 @param x the horizontal offset
 @param y the vertical offset
 @throws NO_MODIFICATION_ALLOWED_ERR if the item cannot be modified
void setDragImage(in nsIDOMElement image, in long x, in long y)

From nsIDOMDocumentCSS


          
nsIDOMCSSStyleDeclaration getOverrideStyle(in nsIDOMElement elt, in DOMString pseudoElt)

From nsIDOMDocumentXBL


          
void addBinding(in nsIDOMElement elt, in DOMString bindingURL)

          
nsIDOMElement getAnonymousElementByAttribute(in nsIDOMElement elt, in DOMString attrName, in DOMString attrValue)

          
nsIDOMNodeList getAnonymousNodes(in nsIDOMElement elt)

          
void removeBinding(in nsIDOMElement elt, in DOMString bindingURL)

From nsIDOMLSParserFilter


          
unsigned short startElement(in nsIDOMElement elementArg)

From nsIDOMViewCSS


          
nsIDOMCSSStyleDeclaration getComputedStyle(in nsIDOMElement elt, in DOMString pseudoElt)

From nsIDOMWindowUtils

 Focus the element aElement. The element should be in the same document
 that the window is displaying. Pass null to blur the element, if any,
 that currently has focus, and focus the document.

 Cannot be accessed from unprivileged context (not content-accessible)
 Will throw a DOM security error if called without UniversalXPConnect
 privileges.

 @param aElement the element to focus

 Do not use this method. Just use element.focus if available or
 nsIFocusManager::SetFocus instead.

void focus(in nsIDOMElement aElement)

From nsIDOMXULCommandDispatcher


          
void advanceFocusIntoSubtree(in nsIDOMElement elt)

          
void addCommandUpdater(in nsIDOMElement updater, in DOMString events, in DOMString targets)

          
void removeCommandUpdater(in nsIDOMElement updater)

From nsIDOMXULDocument


          
void addBroadcastListenerFor(in nsIDOMElement broadcaster, in nsIDOMElement observer, in DOMString attr)

          
void removeBroadcastListenerFor(in nsIDOMElement broadcaster, in nsIDOMElement observer, in DOMString attr)

          
nsIBoxObject getBoxObjectFor(in nsIDOMElement elt)

          
void addBroadcastListenerFor(in nsIDOMElement broadcaster, in nsIDOMElement observer, in DOMString attr)

          
void removeBroadcastListenerFor(in nsIDOMElement broadcaster, in nsIDOMElement observer, in DOMString attr)

From nsIDOMXULPopupElement


          
void showPopup(in unsigned short alignment, in nsIDOMElement target, in nsIDOMElement anchor)

          
void showPopup(in unsigned short alignment, in nsIDOMElement target, in nsIDOMElement anchor)

From nsIEditor

 getAttributeValue() retrieves the attribute's value for aElement.

 @param aElement      the content element to operate on
 @param aAttribute    the string representation of the attribute to get
 @param aResultValue  [OUT] the value of aAttribute.
                      Only valid if aResultIsSet is PR_TRUE
 @return              PR_TRUE if aAttribute is set on the current node,
                      PR_FALSE if it is not.
boolean getAttributeValue(in nsIDOMElement aElement, in AString attributestr, out AString resultValue)
 removeAttribute() deletes aAttribute from the attribute list of aElement.
 If aAttribute is not an attribute of aElement, nothing is done.

 @param aElement      the content element to operate on
 @param aAttribute    the string representation of the attribute to get
void removeAttribute(in nsIDOMElement aElement, in AString aAttribute)
 setAttribute() sets the attribute of aElement.
 No checking is done to see if aAttribute is a legal attribute of the node,
 or if aValue is a legal value of aAttribute.

 @param aElement    the content element to operate on
 @param aAttribute  the string representation of the attribute to set
 @param aValue      the value to set aAttribute to
void setAttribute(in nsIDOMElement aElement, in AString attributestr, in AString attvalue)

          
void removeAttributeOrEquivalent(in nsIDOMElement element, in DOMString sourceAttrName, in boolean aSuppressTransaction)

          
void setAttributeOrEquivalent(in nsIDOMElement element, in AString sourceAttrName, in AString sourceAttrValue, in boolean aSuppressTransaction)

From nsIFeedTextConstruct

 Return an nsIDocumentFragment containing the text and markup.
nsIDOMDocumentFragment createDocumentFragment(in nsIDOMElement element)

From nsIFocusManager

 Changes the focused element reference within the window containing
 aElement to aElement.
void setFocus(in nsIDOMElement aElement, in unsigned long aFlags)
 Move the focus to another element. If aStartElement is specified, then
 movement is done relative to aStartElement. If aStartElement is null,
 then movement is done relative to the currently focused element. If no
 element is focused, focus the first focusable element within the
 document (or the last focusable element if aType is MOVEFOCUS_END). This
 method is equivalent to setting the focusedElement to the new element.

 Specifying aStartElement and using MOVEFOCUS_LAST is not currently
 implemented.

 If no element is found, and aType is either MOVEFOCUS_ROOT or
 MOVEFOCUS_CARET, then the focus is cleared. If aType is any other value,
 the focus is not changed.

 Returns the element that was focused.
nsIDOMElement moveFocus(in nsIDOMWindow aWindow, in nsIDOMElement aStartElement, in unsigned long aType, in unsigned long aFlags)

From nsIHTMLAbsPosEditor

 extracts an element from the normal flow of the document and
 positions it, and puts it back in the normal flow.
 @param aElement [IN] the element
 @param aEnabled [IN] true to absolutely position the element,
                      false to put it back in the normal flow
void absolutelyPositionElement(in nsIDOMElement aElement, in boolean aEnabled)
 returns the absolute z-index of a positioned element. Never returns 'auto'.
 @return         the z-index of the element
 @param aElement [IN] the element.
long getElementZIndex(in nsIDOMElement aElement)
 adds aChange to the z-index of an arbitrary element.
 @return         the new z-index of the element
 @param aElement [IN] the element
 @param aChange  [IN] relative change to apply to current z-index of
                      the element
long relativeChangeElementZIndex(in nsIDOMElement aElement, in long aChange)
 sets the position of an element; warning it does NOT check if the
 element is already positioned or not and that's on purpose.
 @param aElement [IN] the element
 @param aX       [IN] the x position in pixels.
 @param aY       [IN] the y position in pixels.
void setElementPosition(in nsIDOMElement aElement, in long aX, in long aY)
 sets the z-index of an element.
 @param aElement [IN] the element
 @param aZorder  [IN] the z-index
void setElementZIndex(in nsIDOMElement aElement, in long aZorder)
 shows a grabber attached to an arbitrary element. The grabber is an image
 positioned on the left hand side of the top border of the element. Dragging
 and dropping it allows to change the element's absolute position in the
 document. See chrome://editor/content/images/grabber.gif
 @param aElement [IN] the element
void showGrabberOnElement(in nsIDOMElement aElement)

From nsIHTMLEditor

 
 Insert an link element as the parent of the current selection

 @param aElement   An "A" element with a non-empty "href" attribute
void insertLinkAroundSelection(in nsIDOMElement aAnchorElement)
 
 Insert an element, which may have child nodes, at the selection
 Used primarily to insert a new element for various insert element dialogs,
   but it enforces the HTML 4.0 DTD "CanContain" rules, so it should
   be useful for other elements.

 @param aElement           The element to insert
 @param aDeleteSelection   Delete the selection before inserting
     If aDeleteSelection is PR_FALSE, then the element is inserted 
     after the end of the selection for all element except
     Named Anchors, which insert before the selection
void insertElementAtSelection(in nsIDOMElement aElement, in boolean aDeleteSelection)

          
boolean isAnonymousElement(in nsIDOMElement aElement)
 
 Set the selection at the suppled element

 @param aElement   An element in the document
void selectElement(in nsIDOMElement aElement)
 
 Create a collapsed selection just after aElement
 
 XXX could we parameterize SelectElement(before/select/after>?

 The selection is set to parent-of-aElement with an
   offset 1 greater than aElement's offset
   but it enforces the HTML 4.0 DTD "CanContain" rules, so it should
   be useful for other elements.

 @param aElement  An element in the document
void setCaretAfterElement(in nsIDOMElement aElement)

From nsIHTMLInlineTableEditor

 Shows inline table editing UI around a table cell
 @param aCell [IN] a DOM Element being a table cell, td or th
void showInlineTableEditingUI(in nsIDOMElement aCell)
 Modifies the table containing the selection according to the
 activation of an inline table editing UI element
 @param aUIAnonymousElement [IN] the inline table editing UI element
void doInlineTableEditingAction(in nsIDOMElement aUIAnonymousElement)

From nsIHTMLObjectResizeListener

 Listener's callback called by the editor when the user
 has finalized the resizing of an element
 @param aElement [IN] the element that was resized
 @param aOldWidth  [IN] the width of the element before resizing
 @param aOldHeight [IN] the height of the element before resizing
 @param aNewWidth  [IN] the width of the element after resizing
 @param aNewHeight [IN] the height of the element after resizing
void onEndResizing(in nsIDOMElement aElement, in long aOldWidth, in long aOldHeight, in long aNewWidth, in long aNewHeight)
 Listener's callback called by the editor when the user
 starts resizing an element
 @param aElement [IN] the element
void onStartResizing(in nsIDOMElement aElement)

From nsIHTMLObjectResizer

 Shows active resizers around an element's frame
 @param aResizedElement [IN] a DOM Element
void showResizers(in nsIDOMElement aResizedElement)
 event callback when a mouse button is pressed
 @param aX      [IN] horizontal position of the pointer
 @param aY      [IN] vertical position of the pointer
 @param aTarget [IN] the element triggering the event
 @param aMouseEvent [IN] the event
void mouseDown(in long aX, in long aY, in nsIDOMElement aTarget, in nsIDOMEvent aMouseEvent)
 event callback when a mouse button is released
 @param aX      [IN] horizontal position of the pointer
 @param aY      [IN] vertical position of the pointer
 @param aTarget [IN] the element triggering the event
void mouseUp(in long aX, in long aY, in nsIDOMElement aTarget)

From nsIListBoxObject


          
long getIndexOfItem(in nsIDOMElement item)

From nsIPopupBoxObject

 Open the popup relative to a specified node at a specific location.

 The popup may be either anchored to another node or opened freely.
 To anchor a popup to a node, supply an anchor node and set the position
 to a string indicating the manner in which the popup should be anchored.
 Possible values for position are:
    before_start, before_end, after_start, after_end,
    start_before, start_after, end_before, end_after,
    overlap, after_pointer

 The anchor node does not need to be in the same document as the popup.

 If the attributesOverride argument is true, the popupanchor, popupalign
 and position attributes on the popup node override the position value
 argument. If attributesOverride is false, the attributes are only used
 if position is empty.

 For an anchored popup, the x and y arguments may be used to offset the 
 popup from its anchored position by some distance, measured in CSS pixels.
 x increases to the right and y increases down. Negative values may also
 be used to move to the left and upwards respectively.

 Unanchored popups may be created by supplying null as the anchor node.
 An unanchored popup appears at the position specified by x and y,
 relative to the viewport of the document containing the popup node. In
 this case, position and attributesOverride are ignored.

 @param anchorElement the node to anchor the popup to, may be null
 @param position manner is which to anchor the popup to node
 @param x horizontal offset
 @param y vertical offset
 @param isContextMenu true for context menus, false for other popups
 @param attributesOverride true if popup node attributes override position
void openPopup(in nsIDOMElement anchorElement, in AString position, in long x, in long y, in boolean isContextMenu, in boolean attributesOverride)
  This method is deprecated. Use openPopup or openPopupAtScreen instead.
void showPopup(in nsIDOMElement srcContent, in nsIDOMElement popupContent, in long xpos, in long ypos, in wstring popupType, in wstring anchorAlignment, in wstring popupAlignment)
  This method is deprecated. Use openPopup or openPopupAtScreen instead.
void showPopup(in nsIDOMElement srcContent, in nsIDOMElement popupContent, in long xpos, in long ypos, in wstring popupType, in wstring anchorAlignment, in wstring popupAlignment)

From nsIScriptableUnescapeHTML

 Appends the text to the element.
nsIDOMDocumentFragment parseFragment(in AString fragment, in PRBool isXML, in nsIURI baseURI, in nsIDOMElement element)

From nsIScrollBoxObject


          
void ensureElementIsVisible(in nsIDOMElement child)

          
void scrollToElement(in nsIDOMElement child)

From nsIShellService

 Sets the desktop background image using either the HTML <IMG> 
 element supplied or the background image of the element supplied.

 @param aImageElement Either a HTML <IMG> element or an element with
                      a background image from which to source the
                      background image. 
 @param aPosition     How to place the image on the desktop
void setDesktopBackground(in nsIDOMElement aElement, in long aPosition)

From nsITableEditor

 Get a cell at cellmap grid coordinates and associated data
 A cell that spans across multiple cellmap locations will
   be returned multiple times, once for each location it occupies
 Examine the returned aStartRowIndex and aStartColIndex to see 
   if it is in the same layout column or layout row:
   A "layout row" is all cells sharing the same top edge
   A "layout column" is all cells sharing the same left edge
   This is important to determine what to do when inserting or deleting a column or row
 
  @param aTable                   A table in the document
  @param aRowIndex, aColIndex     The 0-based cellmap indexes
 returns values:
  @param aCell                    The cell at this cellmap location
  @param aStartRowIndex           The row index where cell starts
  @param aStartColIndex           The col index where cell starts
  @param aRowSpan                 May be 0 (to span down entire table) or number of cells spanned
  @param aColSpan                 May be 0 (to span across entire table) or number of cells spanned
  @param aActualRowSpan           The actual number of cellmap locations (rows) spanned by the cell
  @param aActualColSpan           The actual number of cellmap locations (columns) spanned by the cell
  @param aIsSelected
  @param 

 (in C++ returns: NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found
  passes NS_SUCCEEDED macro)
void getCellDataAt(in nsIDOMElement aTable, in long aRowIndex, in long aColIndex, out nsIDOMElement aCell, out long aStartRowIndex, out long aStartColIndex, out long aRowSpan, out long aColSpan, out long aActualRowSpan, out long aActualColSpan, out boolean aIsSelected)
 Get the row an column index from the layout's cellmap
 If aCell is null, it will try to find enclosing table of selection anchor
 
void getCellIndexes(in nsIDOMElement aCell, out long aRowIndex, out long aColIndex)
 Generally used after GetSelectedOrParentTableElement
   to test if selected cells are complete rows or columns
 
 @param aElement           Any table or cell element or any element
                           inside a table
                           Used to get enclosing table. 
                           If null, selection's anchorNode is used
 
 @return
     0                        aCellElement was not a cell
                              (returned result = NS_ERROR_FAILURE)
     TABLESELECTION_CELL      There are 1 or more cells selected but
                              complete rows or columns are not selected
     TABLESELECTION_ROW       All cells are in 1 or more rows
                              and in each row, all cells selected
                              Note: This is the value if all rows
                              (thus all cells) are selected
     TABLESELECTION_COLUMN    All cells are in 1 or more columns
                              and in each column, all cells are selected
PRUint32 getSelectedCellsType(in nsIDOMElement aElement)
 Select a rectangular block of cells:
  all cells falling within the row/column index of aStartCell
  to through the row/column index of the aEndCell
  aStartCell can be any location relative to aEndCell,
   as long as they are in the same table
  @param aStartCell  starting cell in block
  @param aEndCell    ending cell in block
void selectBlockOfCells(in nsIDOMElement aStartCell, in nsIDOMElement aEndCell)
 Create a new TD or TH element, the opposite type of the supplied aSourceCell
   1. Copy all attributes from aSourceCell to the new cell
   2. Move all contents of aSourceCell to the new cell
   3. Replace aSourceCell in the table with the new cell

  @param aSourceCell   The cell to be replaced
  @return              The new cell that replaces aSourceCell
nsIDOMElement switchTableCellHeaderType(in nsIDOMElement aSourceCell)
 Select a rectangular block of cells:
  all cells falling within the row/column index of aStartCell
  to through the row/column index of the aEndCell
  aStartCell can be any location relative to aEndCell,
   as long as they are in the same table
  @param aStartCell  starting cell in block
  @param aEndCell    ending cell in block
void selectBlockOfCells(in nsIDOMElement aStartCell, in nsIDOMElement aEndCell)
 Get a cell element at cellmap grid coordinates
 A cell that spans across multiple cellmap locations will
   be returned multiple times, once for each location it occupies

 @param aTable                   A table in the document
 @param aRowIndex, aColIndex     The 0-based cellmap indexes

 (in C++ returns: NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found
  passes NS_SUCCEEDED macro)

   You can scan for all cells in a row or column
   by iterating through the appropriate indexes
   until the returned aCell is null
nsIDOMElement getCellAt(in nsIDOMElement aTable, in long aRowIndex, in long aColIndex)
 Get a cell at cellmap grid coordinates and associated data
 A cell that spans across multiple cellmap locations will
   be returned multiple times, once for each location it occupies
 Examine the returned aStartRowIndex and aStartColIndex to see 
   if it is in the same layout column or layout row:
   A "layout row" is all cells sharing the same top edge
   A "layout column" is all cells sharing the same left edge
   This is important to determine what to do when inserting or deleting a column or row
 
  @param aTable                   A table in the document
  @param aRowIndex, aColIndex     The 0-based cellmap indexes
 returns values:
  @param aCell                    The cell at this cellmap location
  @param aStartRowIndex           The row index where cell starts
  @param aStartColIndex           The col index where cell starts
  @param aRowSpan                 May be 0 (to span down entire table) or number of cells spanned
  @param aColSpan                 May be 0 (to span across entire table) or number of cells spanned
  @param aActualRowSpan           The actual number of cellmap locations (rows) spanned by the cell
  @param aActualColSpan           The actual number of cellmap locations (columns) spanned by the cell
  @param aIsSelected
  @param 

 (in C++ returns: NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found
  passes NS_SUCCEEDED macro)
void getCellDataAt(in nsIDOMElement aTable, in long aRowIndex, in long aColIndex, out nsIDOMElement aCell, out long aStartRowIndex, out long aStartColIndex, out long aRowSpan, out long aColSpan, out long aActualRowSpan, out long aActualColSpan, out boolean aIsSelected)
 Get the number of rows and columns in a table from the layout's cellmap
 If aTable is null, it will try to find enclosing table of selection ancho
 Note that all rows in table will not have this many because of 
 ROWSPAN effects or if table is not "rectangular" (has short rows)
void getTableSize(in nsIDOMElement aTable, out long aRowCount, out long aColCount)
 Scan through all rows and add cells as needed so 
   all locations in the cellmap are occupied.
   Used after inserting single cells or pasting
   a collection of cells that extend past the
   previous size of the table
 If aTable is null, it uses table enclosing the selection anchor
 This doesn't doesn't change the selection,
   thus it can be used to fixup all tables
   in a page independant of the selection
void normalizeTable(in nsIDOMElement aTable)
 Preferred direction to search for neighboring cell
 when trying to locate a cell to place caret in after
 a table editing action. 
 Used for aDirection param in SetSelectionAfterTableEdit

 Reset a selected cell or collapsed selection (the caret) after table editing

 @param aTable      A table in the document
 @param aRow        The row ...
 @param aCol        ... and column defining the cell
                    where we will try to place the caret
 @param aSelected   If true, we select the whole cell instead of setting caret
 @param aDirection  If cell at (aCol, aRow) is not found,
                    search for previous cell in the same
                    column (aPreviousColumn) or row (ePreviousRow)
                    or don't search for another cell (aNoSearch)
                    If no cell is found, caret is place just before table;
                    and if that fails, at beginning of document.
                    Thus we generally don't worry about the return value
                     and can use the nsSetSelectionAfterTableEdit stack-based 
                     object to insure we reset the caret in a table-editing method.
void setSelectionAfterTableEdit(in nsIDOMElement aTable, in long aRow, in long aCol, in long aDirection, in boolean aSelected)
 Get the first row element in a table

 @return            The row at the requested index
                    Returns null if there are no rows in table
 (in C++ returns: NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found
  passes NS_SUCCEEDED macro)
nsIDOMNode getFirstRow(in nsIDOMElement aTableElement)

From nsITreeColumns

 Get the column for the given element.
nsITreeColumn getColumnFor(in nsIDOMElement element)

From nsITreeContentView

 Retrieve the index associated with the specified content item.
long getIndexOfItem(in nsIDOMElement item)

From nsIXMLContentBuilder


          
void clear(in nsIDOMElement root)

From nsIXTFElement


          
void cloneState(in nsIDOMElement aElement)

          
void parentChanged(in nsIDOMElement newParent)

          
void willChangeParent(in nsIDOMElement newParent)

From nsIXULBrowserWindow

 Tells the object implementing this function what link we are currently
 over.
void setOverLink(in AString link, in nsIDOMElement element)

From nsIXULTemplateBuilder

 Retrieve the result corresponding to a generated element, or null is
 there isn't one.

 @param aContent element to result the result of
nsIXULTemplateResult getResultForContent(in nsIDOMElement aElement)

From nsIXULTreeBuilder

 
 Sort the contents of the tree using the specified column.
void sort(in nsIDOMElement aColumnElement)

From nsIXULTreeBuilderObserver

 
 Called when a header is clicked.
void onCycleHeader(in wstring colID, in nsIDOMElement elt)