Here is some new documentation appearing on the Mozilla Developer Center (MDC):
- XUL widgets for dates, times, and numbers: XUL now has some new (Firefox3 / Gecko1.9) elements to better handle non-text input – <datepicker>, <timepicker>, <scale>, and <textbox type=”number”>. The XUL tutorial has been updated with new information on these elements too.
- Code snippets for XUL widgets: New category of the MDC code snippets section. Look for widget-specific snippets that you can use in any XUL code. Currently, snippets for trees and labels/descriptions have been added.
- Custom autocomplete source example: XUL textboxes have built-in support for autocomplete and some nice autocomplete options, but the platform only supplies some browser-centric autocomplete search sources. You can add your own search sources by making an XPCOM component. Here is an example custom search source. The source can also be used as-is to add simple autocomplete search sources to your extensions and XULRunner applications.