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


Type: space-separated list of the values below
A set of flags used for miscellaneous purposes. Two flags are defined, which may be the value of this attribute.
  • dont-test-empty: For template generated content, the builder will not check that a container is empty.
  • dont-build-content: This flag may be used on a tree to indicate that content elements should not be generated. This results in a performance enhancement, but you will not be able to use the DOM functions to retrieve the tree rows.

Document Tags and Contributors

Contributors to this page: Sheppy, jswisher, M1k., trevorh, Marsf, BenoitL, Ptak82, Dria
Last updated by: Sheppy,