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

isempty

isempty
Type: boolean
Indicates whether rules match based on emptyness. If not specified, the rule may match regardless of whether a node has children or not.
  • true: The rule will only match nodes that contain no child elements.
  • false: The rule will only match nodes that contain one or more child elements.

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, Ptak82, Dria
 Last updated by: Sheppy,