Join MDN and developers like you at Mozilla's View Source conference, November 2-4 in Portland, Oregon. Learn more at


Type: nsIBoxObject
This property is available for elements that are derived from boxes, which is most displayable XUL elements. Prior to Gecko 1.9.1, you can retrieve the boxObject for non-XUL elements using the document.getBoxObjectFor method; the method was removed in Gecko 1.9.1 because it was non-standard. It is covered further in the tutorial.

Document Tags and Contributors

Contributors to this page: Sheppy, trevorh, Marsf, Brettz9, BenoitL, Dria
Last updated by: Sheppy,