HTMLOListElement: compact property

Deprecated

Avoid using this feature in new projects. This feature may be a candidate for removal from web standards or browsers.

The compact property of the HTMLOListElement interface indicates that spacing between list items should be reduced. The exact handling of the compact attribute is browser-specific. Instead of using this property, consider using CSS line-height instead.

It reflects the compact attribute of the <ol> element.