- This class causes the text to be displayed with no margin.
+ This class causes the text to be displayed with no border or margin.
This class causes the text to be displayed with a smaller margin.
diff -u elemref/ref_dialog.html /main/xultu/output/xultu/elemref/ref_dialog.html
--- elemref/ref_dialog.html 2004-11-13 12:46:53.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_dialog.html 2004-11-13 12:43:00.000000000 -0500
@@ -248,7 +248,7 @@
-
+
Return Type: no return value
Accepts the dialog and closes it, similar to pressing the OK button.
@@ -275,7 +275,7 @@
-
+
Return Type: no return value
Cancels the dialog and closes it, similar to pressing the Cancel button.
diff -u elemref/ref_EventHandlers.html /main/xultu/output/xultu/elemref/ref_EventHandlers.html
--- elemref/ref_EventHandlers.html 2004-11-13 12:46:29.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_EventHandlers.html 2004-11-13 12:43:01.000000000 -0500
@@ -98,105 +98,105 @@
This event is sent when a radio button is selected, either by the user or a script. This event has no corresponding attribute; it must be added using the addEventListener method. Normally, you would use the command event to listen to radio button selection changes, however, the command event is only sent when the user changes the selected radio button, while the RadioStateChange event is also sent when a script modifies the selection. For user changes, the RadioStateChange event is sent before the command event. The RadioStateChange event bubbles so you can also attach the event handler to the enclosing radiogroup.
-
Type: script code
+
The opposite of the focus event, the blur event is passed just as an element loses the focus.
-
Type: script code
+
The event handler should be placed on an observer. The broadcast event is sent when the attributes of the broadcaster being listened to are changed.
-
Type: script code
+
This event is sent when the value of the textbox is changed. The event is not sent until the focus is moved to another element.
-
Type: script code
+
This event is sent when a mouse button is pressed and released. You can determine which mouse button was clicked by retrieving the button property of the event object. This event is also sent when the user double-clicks with the mouse. The detail property specifies how many clicks occured. You can also check for triple-clicks in a similar manner. For buttons and menus, you should use oncommand instead.
-
Type: script code
+
This event is sent when a request has been made to close the window, for example, when the user presses the close button. If you place an event handler on the window element, you can trap the window close. If you return false from the onclose handler, the window will not close. Return true to have it close normally.
-
Type: script code
+
This event handler is called when an element is activated. How it is activated varies for each element and in many cases, there are several ways to activate an element. For example, a button can be activated by clicking on it with the mouse or by pressing ENTER while it has the focus. Menus can be activated by selecting them with the mouse or by pressing a shortcut key. You should always use the oncommand event instead of onclick because it will be called in all of the needed cases.
-
Type: script code
+
This event occurs when a command update occurs. You would use this to update the disabled status of items.
-
Type: script code
+
This event is sent to an element when the user requests to open the context menu for the element. The action to do this varies by platform, but it will typically be a right click. This handler is usually used to dynamically set the commands on a menu when the user requests to display it, or you can use onpopupshowing event. Returning false from this event handler prevents the popup from appearing.
-
Type: script code
+
This event is like the click event except it is only sent when the user double clicks with the mouse. This is an alternative to checking the detail property in the click event.
-
Type: script code
+
This event is sent when the user releases the mouse button to drop an object being dragged. The element, if it accepts the drop, should respond in some manner such inserting the dragged object into itself.
-
Type: script code
+
The dragenter event is sent when the mouse pointer first moves over an element during a drag. It is similar to the mouseover event but occurs while dragging.
-
Type: script code
+
This event is sent when the mouse pointer moves away from an element during a drag. It is also called after a drop on an element. It is similar to the mouseout event but occurs during a drag.
-
Type: script code
+
This event is sent when the user starts dragging the element, usually by holding down the mouse button and moving the mouse.
-
Type: script code
+
Related to the mousemove event, this event is sent while something is being dragged over an element. The handler should indicate whether the object being dragged can be dropped.
-
Type: script code
+
The focus event is sent to an element when it receives the focus. Once an element has the focus, keyboard events are sent to it. The focus can be changed by clicking on an element or by pressing TAB to switch to the next element is sequence.
-
Type: script code
+
This event is sent when a user enters text in a textbox. This event is only called when the text displayed would change, thus it is not called when the user presses non-displayable keys.
-
Type: script code
+
The keydown event is sent to an element that has the focus and a key is pressed but not released.
-
Type: script code
+
The keypress event is sent to an element that has the focus and a key is pressed and released. When the user presses a key, the keydown event is first sent, followed by the keypress event and then the keyup event. In a textbox, a user normally can hold down a key to repeat a character In this case, multiple sets of key events are sent as if the user rapidly pressed the same key repeatedly.
-
Type: script code
+
The keyup event is sent to an element that has the focus and a key is released.
-
Type: script code
+
This event is sent to the window after it has been fully loaded. You should place this event handler on the window element. This event may also be used on the image element, or an element that accepts an image attribute, and will be fired when the image has finished loading. For images, this event does not bubble up the element tree, so it will not conflict with the window's onload event.
-
Type: script code
+
This event is sent when the mouse is pressed on an element but not released.
-
Type: script code
+
This event is sent repeatedly as the mouse is moved over an element.
-
Type: script code
+
This mouseout event is sent to an element when the user moves the mouse outside the element. This event is the reverse of onmouseover.
-
Type: script code
+
This event is sent to an element when the mouse first moves over an element. You can use this event to provide feedback to the user.
-
Type: script code
+
This event is sent when the mouse is released on an element.
-
Type: script code
+
This event is sent to a box or other layout element when there is not enough space to display it at full size. This might be the result of maximum sizes on elements. For example, if a box has a maximum size of 100 pixels, and only enough space for 80 pixels is available, the overflow event will be sent to the box. If the size changes, for example, by the user resizing the window, you can use the onunderflow event handler to determine when enough space is available.
-
Type: script code
+
This event is sent when the overflow state changes.
-
Type: script code
+
This event is sent to a popup after it has been hidden.
-
Type: script code
+
This event is sent to a popup when it is about to be hidden.
-
Type: script code
- This event is sent to a popup just before it is popped open. This handler is usually used to dynamically set the contents when the user requests to display it.
+
+ This event is sent to a popup just before it is popped open. This handler is usually used to dynamically set the contents when the user requests to display it. Returning false from this event handler prevents the popup from appearing.
-
Type: script code
+
This is event is sent to a popup after it has been opened, much like the onload event is sent to a window when it is opened.
-
Type: script code
+
This event is sent to a listbox or tree when an item is selected.
-
Type: script code
+
This event is sent to an element when there becomes enough space to display it at full size. This applies to boxes and other layout elements.
-
Type: script code
+
This event is sent to a window when the window has closed. This is done after the close event. You should place this event handler on the window element.
diff -u elemref/ref_iframe.html /main/xultu/output/xultu/elemref/ref_iframe.html
--- elemref/ref_iframe.html 2004-11-13 12:47:00.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_iframe.html 2004-11-13 12:43:01.000000000 -0500
@@ -214,7 +214,5 @@
Returns the XPCOM object that implements the iframe's document functionality.
- This read-only property contains the nsIWebNavigation object for the document. Most of its methods are callable directly on the iframe itself, such as goBack and goForward. It also contains the load constants used by reloadWithFlags and loadURIWithFlags.
+ This read-only property contains the nsIWebNavigation object for the document.
diff -u elemref/ref_label.html /main/xultu/output/xultu/elemref/ref_label.html
--- elemref/ref_label.html 2004-11-13 12:47:03.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_label.html 2004-11-13 12:43:01.000000000 -0500
@@ -165,7 +165,7 @@
This class causes the text to be displayed in a monospace font.
- This class causes the text to be displayed with no margin.
+ This class causes the text to be displayed with no border or margin.
This class causes the text to be displayed with a smaller margin.
diff -u elemref/ref_menubar.html /main/xultu/output/xultu/elemref/ref_menubar.html
--- elemref/ref_menubar.html 2004-11-13 12:47:12.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_menubar.html 2004-11-13 12:43:01.000000000 -0500
@@ -89,7 +89,7 @@
-
Type: nsIAccessible
+
Type: nsIAccessible
Returns the accessibility object for the menubar.
Type: boolean
diff -u elemref/ref_menuitem.html /main/xultu/output/xultu/elemref/ref_menuitem.html
--- elemref/ref_menuitem.html 2004-11-13 12:47:13.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_menuitem.html 2004-11-13 12:43:01.000000000 -0500
@@ -116,7 +116,7 @@
Type: string
Text that appears beside beside the menu label to indicate the shortcut key (accelerator key) to use to invoke the command. If this value is set, it overrides an assigned key set in the key attribute. This attribute does not apply to menus directly on the menubar.
-
Type: nsIAccessible
+
Type: nsIAccessible
Returns the accessibility object for the menuitem.
Type: character
diff -u elemref/ref_popup.html /main/xultu/output/xultu/elemref/ref_popup.html
--- elemref/ref_popup.html 2004-11-13 12:47:20.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_popup.html 2004-11-13 12:43:01.000000000 -0500
@@ -116,7 +116,7 @@
This event is sent to a popup when it is about to be hidden.
Type: script code
- This event is sent to a popup just before it is popped open. This handler is usually used to dynamically set the contents when the user requests to display it.
+ This event is sent to a popup just before it is popped open. This handler is usually used to dynamically set the contents when the user requests to display it. Returning false from this event handler prevents the popup from appearing.
Type: script code
This is event is sent to a popup after it has been opened, much like the onload event is sent to a window when it is opened.
diff -u elemref/ref_radiogroup.html /main/xultu/output/xultu/elemref/ref_radiogroup.html
--- elemref/ref_radiogroup.html 2004-11-13 12:47:24.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_radiogroup.html 2004-11-13 12:43:01.000000000 -0500
@@ -17,7 +17,7 @@
Radiogroup
- A group of radio buttons. Only one radio button inside the group can be selected at a time. The radio buttons may either direct children of the radiogroup or descendants. Place the radiogroup inside a groupbox if you would like a border or caption around the group. The radiogroup defaults to vertical orientation.
More information about radiogroup
+ A group of radio buttons. Only one radio button inside the group can be selected at a time. The
radio buttons may either direct children of the radiogroup or descendants. Place the radiogroup inside a
groupbox if you would like a border or
caption around the group. The radiogroup defaults to vertical orientation.
To set the radio button that will be selected by default, set the selected attribute of a child radio element.
More information about radiogroup
The radiogroup element implements the following interfaces:
nsIAccessibleProvider
diff -u elemref/ref_radio.html /main/xultu/output/xultu/elemref/ref_radio.html
--- elemref/ref_radio.html 2004-11-13 12:47:23.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_radio.html 2004-11-13 12:43:01.000000000 -0500
@@ -152,7 +152,7 @@
The label that will appear beside the radio. If this is left out, no text appears. The labels on radio buttons will wrap if there is not enough space.
Type: boolean
- This attribute is set to true if the radio button is selected by default. Leave this attribute out if it should not be set by default. To change the currently selected radio button, modify either the selectedIndex or selectedItem property of the radiogroup.
+ This attribute is set to true if the radio button is selected. To change the currently selected radio button, modify either the selectedIndex or selectedItem property of the
radiogroup.
Type: image URL
The URL of the image to appear on the radio. If this attribute is left out, no image appears.
diff -u elemref/ref_rdfbookmarks.html /main/xultu/output/xultu/elemref/ref_rdfbookmarks.html
--- elemref/ref_rdfbookmarks.html 2004-11-13 12:47:24.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_rdfbookmarks.html 2004-11-13 12:43:01.000000000 -0500
@@ -20,43 +20,43 @@
This datasource holds the user's bookmarks. Each bookmark holds a title and URL and information about when the user has visited the bookmark and the schedule for checking when the URL is checked for updates. The root of the bookmarks datasource is NC:BookmarksRoot. You can also use the roots NC:PersonalToolbarFolder for the folder holding personal toolbar items and NC:IEFavoritesRoot for the folder containing the imported IE favorites.
More information about rdf:bookmarks
-
+
The date and time that the bookmark was added.
-
+
The description or comments of the bookmark. The user can set this in a bookmark's property window.
-
+
The date that URL was last modified.
-
+
The date that URL was last visited.
-
+
The name of the resource. This will be the title of the page.
-
+
The schedule for checking the bookmark's URL for updates. This is a string of the following format:
<days to check>|<times to check>|<duration>|<alert options>
For example: '1|4-11|30|icon,alert' means check on Monday between 4 and 11, every thirty minutes. If the page has been updated, the icon changed and an alert is displayed. The first value may contain multiple digits for multiple days. Additional alert options are 'sound' and 'open' to play a sound and open a new window. These options correspond to those in the bookmark properties dialog.
-
+
The shortcut keyword for the resource. You can set this for a bookmark in its properties window.
-
+
The URL for the resource. This will be the URL that is opened when a user double-clicks on the entry in a tree.
-
+
This property is set to the string 'new' when an update check determines that the page has been modified. This only applies when the schedule has the icon alert option set.
-
+
The type of bookmark. This will be set to one of three possible values. The bookmarks window uses the type to determine how to render the bookmark, including which icon to use.
@@ -79,47 +79,47 @@
Commands can be called with the DoCommand method of the
nsIRDFDataSource interface. This method can take a number of arguments,
which are described in the descriptions below.
-
+
Deletes a bookmark from the datasource.
-
+
Deletes a bookmark from the datasource.
-
+
Deletes a bookmark separator from the datasource.
-
+
Used to export bookmarks to a file. Use the URL property to specify a file URL to export to.
-
+
Used to import bookmarks from a file. Use the URL property to specify a file URL to import from.
-
+
Adds a new bookmark to the datasource. Arguments include the Name and URL of the new bookmark. You should pass nsIResource objects for the name and URL as arguments.
-
+
Adds a new bookmark folder to the datasource. Use the Name argument to specify the folder title.
-
+
Adds a new bookmark separator to the datasource.
-
+
Indicates that a bookmark is a folder.
-
+
indicates that a folder is the one used for storing search results.
-
+
Indicates that a folder is the one used for the items that appear on the personal toolbar.
diff -u elemref/ref_rdffiles.html /main/xultu/output/xultu/elemref/ref_rdffiles.html
--- elemref/ref_rdffiles.html 2004-11-13 12:47:25.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_rdffiles.html 2004-11-13 12:43:01.000000000 -0500
@@ -20,23 +20,23 @@
The files datasource holds a tree of the user's filesystem. Use NC:FilesRoot in a ref attribute to grab the file list from the root. Alternatively, you can use a file URL to specify a particular directory.
More information about rdf:files
-
+
The length of the file.
-
+
The date that URL was last modified.
-
+
The name of the resource. This will be the title of the page.
-
+
The URL for the resource. This will be the URL that is opened when a user double-clicks on the entry in a tree.
-
+
The extension of the file, including the period. This property is only available on platforms that use file extensions.
diff -u elemref/ref_rdfhistory.html /main/xultu/output/xultu/elemref/ref_rdfhistory.html
--- elemref/ref_rdfhistory.html 2004-11-13 12:47:26.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_rdfhistory.html 2004-11-13 12:43:01.000000000 -0500
@@ -20,31 +20,31 @@
The history datasource holds a list of the pages that the user has visited. It is available in two forms, a flat list by using NC:HistoryRoot and organized by day by using NC:HistoryByDate. In this latter form, items are stored in one of seven folders, storing URLs visited in each of the recent seven days. URLs visited earlier are placed in the last folder.
More information about rdf:history
-
+
Holds the date when the user last visited the URL.
-
+
Holds the date when the user first visited the URL.
-
+
The hostname part of the URL.
-
+
The name of the resource. This will be the title of the page.
-
+
The referrer of the URL, which is, in general, the URL of the page which contained the link to this one.
-
+
The URL for the resource. This will be the URL that is opened when a user double-clicks on the entry in a tree.
-
+
Holds the number of times that the user has visited the URL.
diff -u elemref/ref_rdfwindow-mediator.html /main/xultu/output/xultu/elemref/ref_rdfwindow-mediator.html
--- elemref/ref_rdfwindow-mediator.html 2004-11-13 12:47:26.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_rdfwindow-mediator.html 2004-11-13 12:43:01.000000000 -0500
@@ -20,7 +20,7 @@
This datasource holds a list of all of the open windows. Use a ref value of NC:WindowMediatorRoot in a template.
More information about rdf:window-mediator
-
+
The title of the window.
Only in elemref/: ref_resourcebundle.html
Only in elemref/: ref_scrollbarbutton.html
Only in elemref/: ref_slider.html
diff -u elemref/ref_textboxFirefoxAutoComplete.html /main/xultu/output/xultu/elemref/ref_textboxFirefoxAutoComplete.html
--- elemref/ref_textboxFirefoxAutoComplete.html 2004-11-13 12:47:49.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_textboxFirefoxAutoComplete.html 2004-11-13 12:43:01.000000000 -0500
@@ -17,7 +17,7 @@
Textbox (Firefox Auto Complete)
- This element is created by setting the type attribute of a textbox to 'autocomplete'. It is used to create a textbox with a popup containing a list of possible completions for what the user has started to type.
Firefox uses a different autocomplete mechanism that the Mozilla suite. The example below will create an autocomplete textbox which will search the user's history.
+ This element is created by setting the type attribute of a textbox to 'autocomplete'. It is used to create a textbox with a popup containing a list of possible completions for what the user has started to type.
Firefox uses a different autocomplete mechanism that the Mozilla suite. The example below will create an autocomplete textbox which will search the user's history.
Example:
<textbox type="autocomplete" autocompletesearch="history"/>
@@ -28,43 +28,42 @@
nsIDOMXULMenuListElement
Attributes:
- |
accesskey |
autocompletepopup |
autocompletesearch |
autocompletesearchparam |
-
| completedefaultindex |
+
| crop |
disableautocomplete |
disabled |
disablekeynavigation |
-
| enablehistory |
+
| focused |
forcecomplete |
ignoreblurwhilesearching |
inputtooltiptext |
-
| label |
+
| maxlength |
maxrows |
minresultsforpopup |
nomatch |
-
| onchange |
+
| oninput |
onsearchcomplete |
ontextentered |
ontextreverted |
-
| open |
+
| readonly |
showcommentcolumn |
size |
tabindex |
-
| tabscrolling |
+
| timeout |
type |
value |
diff -u elemref/ref_toolbarbutton.html /main/xultu/output/xultu/elemref/ref_toolbarbutton.html
--- elemref/ref_toolbarbutton.html 2004-11-13 12:47:54.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_toolbarbutton.html 2004-11-13 12:43:01.000000000 -0500
@@ -190,7 +190,7 @@
Indicates whether the toolbarbutton is disabled or not. If this attribute is set to true, the toolbarbutton is disabled. This is usually drawn with the text in grey. If the toolbarbutton is disabled, it does not respond to user actions. The element cannot be focused and the command event will not fire. The element will still respond to mouse events. To enable the toolbarbutton, leave the attribute out entirely as opposed to setting the value to false.
Type: one of the values below
- The dialog type of the button, used only when the button is in a dialog box. You can use this feature to replace the standard dialog box buttons with custom buttons, yet the dialog event methods will still function. For example, if the dlgType is set to 'accept', the button will replace the dialog box's accept button, which is usually labeled OK. Using this attribute on a button not a dialog box has no effect. The following values can be used as the dialog type:
+ The dialog type of the button, used only when the button is in a dialog box. You can use this feature to replace the standard dialog box buttons with custom buttons, yet the dialog event methods will still function. For example, if the dlgType is set to 'accept', the button will replace the dialog box's accept button, which is usually labeled OK. Using this attribute on a button that is not in a dialog box has no effect. The following values can be used as the dialog type:
- accept:
The OK button, which will accept the changes when pressed.
diff -u elemref/ref_toolbargrippy.html /main/xultu/output/xultu/elemref/ref_toolbargrippy.html
--- elemref/ref_toolbargrippy.html 2004-11-13 12:47:55.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_toolbargrippy.html 2004-11-13 12:43:01.000000000 -0500
@@ -16,7 +16,7 @@
Toolbargrippy
- Not in Firefox
+ Not in Firefox
The notch on the side of a toolbar which can be used to collapse and expand it. This element is used internally by the toolbar and should only be used directly when modifying its theme.
More information about toolbargrippy
The toolbargrippy element implements the following interfaces:
diff -u elemref/ref_toolbaritem.html /main/xultu/output/xultu/elemref/ref_toolbaritem.html
--- elemref/ref_toolbaritem.html 2004-11-13 12:47:56.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_toolbaritem.html 2004-11-13 12:43:01.000000000 -0500
@@ -16,7 +16,7 @@
Toolbaritem
-
Firefox
+ Firefox
An item that appears on a toolbar. This element should wrap all items that are not buttons, which should instead be created using the toolbarbutton element. The element is used, for example, to hold the url field.
Inherited from XUL Element:
diff -u elemref/ref_toolbarpalette.html /main/xultu/output/xultu/elemref/ref_toolbarpalette.html
--- elemref/ref_toolbarpalette.html 2004-11-13 12:47:57.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_toolbarpalette.html 2004-11-13 12:43:01.000000000 -0500
@@ -16,7 +16,7 @@
Toolbarpalette
- Firefox
+ Firefox
The item is a palette of available toolbar items. It is not displayed, but is used by the toolbar customization dialog to display the list of items. The children of the toolbarpalette should be the complete list of toolbarbuttons and toolbaritems that can be added to the toolbar. Do not add the various spacing items, as those are added automatically.
You can add your own custom buttons to the Firefox browser by using an overlay that overlays the toolbarpalette with the id 'BrowserToolbarPalette'.
Inherited from XUL Element:
diff -u elemref/ref_toolbarset.html /main/xultu/output/xultu/elemref/ref_toolbarset.html
--- elemref/ref_toolbarset.html 2004-11-13 12:47:59.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_toolbarset.html 2004-11-13 12:43:01.000000000 -0500
@@ -16,7 +16,7 @@
Toolbarset
- Firefox
+ Firefox
This element is used as a container for custom toolbars, which are added in the custom toolbar dialog.
Inherited from XUL Element:
diff -u elemref/ref_toolbarspacer.html /main/xultu/output/xultu/elemref/ref_toolbarspacer.html
--- elemref/ref_toolbarspacer.html 2004-11-13 12:48:00.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_toolbarspacer.html 2004-11-13 12:43:01.000000000 -0500
@@ -16,7 +16,7 @@
Toolbarspacer
- Firefox
+ Firefox
A space between toolbar items.
The toolbarspacer element implements the following interfaces:
diff -u elemref/ref_toolbarspring.html /main/xultu/output/xultu/elemref/ref_toolbarspring.html
--- elemref/ref_toolbarspring.html 2004-11-13 12:48:00.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_toolbarspring.html 2004-11-13 12:43:01.000000000 -0500
@@ -16,7 +16,7 @@
Toolbarspring
-
Firefox
+ Firefox
A flexible space between toolbar items.
The toolbarspring element implements the following interfaces:
diff -u elemref/ref_tooltip.html /main/xultu/output/xultu/elemref/ref_tooltip.html
--- elemref/ref_tooltip.html 2004-11-13 12:48:02.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_tooltip.html 2004-11-13 12:43:01.000000000 -0500
@@ -146,13 +146,76 @@
This event is sent to a popup when it is about to be hidden.
Type: script code
- This event is sent to a popup just before it is popped open. This handler is usually used to dynamically set the contents when the user requests to display it.
+ This event is sent to a popup just before it is popped open. This handler is usually used to dynamically set the contents when the user requests to display it. Returning false from this event handler prevents the popup from appearing.
Type: script code
This is event is sent to a popup after it has been opened, much like the onload event is sent to a window when it is opened.
-
Type: integer
- When an element is in an overlay, the position is an index where the child is inserted. The position is one-based, so use a value of 1 to place the element at the beginning. This attribute is ignored if either an insertbefore or insertafter attribute matches an element.
+
Type: one of the values below
+ The position attribute determines where the popup appears relative to the element the user clicked to invoke the popup. This allows you to place the menu on one side on a button.
+
+ - after_start:
+ The popup appears underneath the element with the popup's upper-left corner
+ aligned with the lower-left corner of the element. The left edges of the
+ element and the popup are aligned. This is typically used for drop-down menus.
+
+
+ - after_end:
+ The popup appears underneath the element with the popup's upper-right corner
+ aligned with the lower-right corner of the element. The right edges of the
+ element and the popup are aligned.
+
+
+ - before_start:
+ The popup appears above the element with the popup's lower-left corner
+ aligned with the upper-left corner of the element. The left edges of the
+ element and the popup are aligned.
+
+
+ - before_end:
+ The popup appears above the element with the popup's lower-right corner
+ aligned with the upper-right corner of the element. The right edges of the
+ element and the popup are aligned.
+
+
+ - end_after:
+ The popup appears to the right of the element with the popup's lower-left
+ corner aligned with the lower-right corner of the element. The bottom edges
+ of the element and the popup are aligned.
+
+
+ - end_before:
+ The popup appears to the right of the element with the popup's upper-left
+ corner aligned with the upper-right corner of the element. The top edges of
+ the element and the popup are aligned.
+
+
+ - start_after:
+ The popup appears to the left of the element with the popup's lower-right
+ corner aligned with the lower-left corner of the element. The bottom edges
+ of the element and the popup are aligned.
+
+
+ - start_before:
+ The popup appears to the left of the element with the popup's upper-right
+ corner aligned with the upper-left corner of the element. The top edges of
+ the element and the popup are aligned.
+
+
+ - overlap:
+ The popup appears over top of the element with the upper-left corners aligned.
+
+
+ - at_pointer:
+ The popup appears at the same position as the mouse pointer.
+
+
+ - after_pointer:
+ The popup appears at the same horizontal position as the mouse pointer, but
+ vertically, it is placed just below the element.
+
+
+
@@ -266,8 +329,71 @@
Type: nsIPopupBoxObject
This read-only property holds the nsIPopupBoxObject that implements the tooltip. You wouldn't normally need to use this property as all of its functions are available via the tooltip itself.
-
Type: integer
- When an element is in an overlay, the position is an index where the child is inserted. The position is one-based, so use a value of 1 to place the element at the beginning. This attribute is ignored if either an insertbefore or insertafter attribute matches an element.
+
Type: one of the values below
+ The position attribute determines where the popup appears relative to the element the user clicked to invoke the popup. This allows you to place the menu on one side on a button.
+
+ - after_start:
+ The popup appears underneath the element with the popup's upper-left corner
+ aligned with the lower-left corner of the element. The left edges of the
+ element and the popup are aligned. This is typically used for drop-down menus.
+
+
+ - after_end:
+ The popup appears underneath the element with the popup's upper-right corner
+ aligned with the lower-right corner of the element. The right edges of the
+ element and the popup are aligned.
+
+
+ - before_start:
+ The popup appears above the element with the popup's lower-left corner
+ aligned with the upper-left corner of the element. The left edges of the
+ element and the popup are aligned.
+
+
+ - before_end:
+ The popup appears above the element with the popup's lower-right corner
+ aligned with the upper-right corner of the element. The right edges of the
+ element and the popup are aligned.
+
+
+ - end_after:
+ The popup appears to the right of the element with the popup's lower-left
+ corner aligned with the lower-right corner of the element. The bottom edges
+ of the element and the popup are aligned.
+
+
+ - end_before:
+ The popup appears to the right of the element with the popup's upper-left
+ corner aligned with the upper-right corner of the element. The top edges of
+ the element and the popup are aligned.
+
+
+ - start_after:
+ The popup appears to the left of the element with the popup's lower-right
+ corner aligned with the lower-left corner of the element. The bottom edges
+ of the element and the popup are aligned.
+
+
+ - start_before:
+ The popup appears to the left of the element with the popup's upper-right
+ corner aligned with the upper-left corner of the element. The top edges of
+ the element and the popup are aligned.
+
+
+ - overlap:
+ The popup appears over top of the element with the upper-left corners aligned.
+
+
+ - at_pointer:
+ The popup appears at the same position as the mouse pointer.
+
+
+ - after_pointer:
+ The popup appears at the same horizontal position as the mouse pointer, but
+ vertically, it is placed just below the element.
+
+
+
Return Type: no return value
diff -u elemref/ref_tree.html /main/xultu/output/xultu/elemref/ref_tree.html
--- elemref/ref_tree.html 2004-11-13 12:48:03.000000000 -0500
+++ /main/xultu/output/xultu/elemref/ref_tree.html 2004-11-13 12:43:01.000000000 -0500
@@ -23,12 +23,13 @@
nsIAccessibleProvider