CSS - display-list

The display-list CSS property specifies whether a list marker should be displayed for an element.

Syntax  

/* Keyword values */
display-list: none;
display-list: list-item;

/* Keyword values */
display-list: inherit;
display-list: initial;
display-list: unset;

Values

none
There is no list marker displayed for the element.
list-item
The element generates a ::marker pseudo-element and is considered a list item.

Formal syntax

none | list-item

Description  

The display-list CSS property specifies whether a list marker should be displayed for an element.

Initial valuenone
Applies toall elements
Inheritedno
Mediaall
Computed valueas specified
Animatableno
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Browser Compatibility  

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support Not supported Not supported Not supported Not supported Not supported
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported Not supported Not supported Not supported Not supported

Specifications  

Specification Status Comment
CSS Display Module Level 3
The definition of 'display-list' in that specification.
Working Draft Initial definition

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/css/display-list