15.2. Constructing One XBL Binding

This topic describes the individual XBL tags and tag attributes.

Some XBL tags have the same names as tags used elsewhere in Mozilla. It is always a good idea to provide full xmlns namespace declarations when creating XBL documents. That strategy helps avoid confusion. XBL tag names with meanings in other XML applications supported by Mozilla are

<bindings> <body> <children> <content> <image>

XBL attribute names with meaning elsewhere are

method action command modifiers charcode keycode key name readonly text

15.2.1. Bound Tags and -moz-binding

Most, but not all, XUL and HTML tags can be bound to an XBL binding. For a tag to be bound, it must have a frame—a styleable rectangular area in which it is displayed. ...

Get Rapid Application Development with Mozilla™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.