Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at

Introduction to XBL

"If you don't use an anchor in the -moz-binding URL, the first binding in the XBL file is used." I can't make this work in HTML+XBL. Results may vary for XUL, I don't know. The only way I can make a binding work on an HTML element is to refer to an anchor in the XBL file. If I omit the anchor, nothing happens - the first binding in the XBL file is not used. Is the above statement correct? Is it specific to XUL? -Jonnyq

It appears this never worked until bugĀ 366770 was fixed. --Nickolay 15:27, 1 May 2007 (PDT)

Document Tags and Contributors

 Contributors to this page: Nickolay, Jonnyq
 Last updated by: Nickolay,