CSS > list-style-type incorrectly states that <li> is the only element with display: list-item by default

UNCONFIRMED
Unassigned

Status

Developer Documentation
CSS
P5
normal
UNCONFIRMED
7 months ago
7 months ago

People

(Reporter: Steve, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

7 months ago
:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

In the doc for list-style-type, the first paragraph states:

"Because the <li> element is the only property that defaults to display:list-item, this property is usually applied to an <li> element, but it may be applied to any element whose display value is list-item."

This is incorrect; <li> is no longer the only element which defaults to display:list-item. As stated on https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary:

"The default style for <summary> is display:list-item per HTML standard."
You need to log in before you can comment on or make changes to this bug.