Skip to content

Commit a580e1e

Browse files
committed
[css-lists-3] Follow up wording tweaks to marker intro text.
1 parent d014ab9 commit a580e1e

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

css-lists-3/Overview.bs

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,24 +88,28 @@ Declaring a List Item</h2>
8888
<h2 id='markers'>
8989
Markers</h2>
9090

91-
The defining feature of the <a>list item</a> <a>display type</a> is its <i>marker</i>,
91+
The defining feature of the <a>list item</a> <a>display type</a>
92+
is its <dfn lt="marker | marker box">marker</dfn>,
9293
a symbol or ordinal that helps denote the beginning of each <a>list item</a> in a list.
93-
List item boxes thus generate, in addition to their principal box,
94-
a <dfn export lt="marker | marker box">marker box</dfn>
95-
(represented by the ''::marker'' pseudo-element)
96-
which contains and displays this marker.
94+
In the CSS layout model,
95+
<a>list item</a> <a>markers</a> are represented by
96+
the <a>marker box</a> associated with the <a>list item</a>.
97+
The contents of this <a>marker</a> can be controlled with
98+
the 'list-style-type' and 'list-style-image' properties on the <a>list item</a>
99+
and by assigning properties to its ''::marker'' pseudo-element.
97100

98101
<h3 id='marker-pseudo'>
99102
The ''::marker'' Pseudo-Element</h3>
100103

101-
The <a>marker box</a> generated by the ''::marker'' pseudo-element of a <a>list item</a>
102-
is generated as the first child of the <a>list item</a>,
104+
The <a>marker box</a> is generated by
105+
the ''::marker'' pseudo-element of a <a>list item</a>
106+
as its first child,
103107
before the ''::before'' pseudo-element
104-
(if it exists on the element)
105-
and filled with content
108+
(if it exists on the element).
109+
It is filled with content
106110
as defined in [[#content-property]].
107111

108-
<a>Marker boxes</a> only exist on <a>list items</a>;
112+
<a>Marker boxes</a> only exist for <a>list items</a>:
109113
on any other element,
110114
the ''::marker'' pseudo-element's 'content' property must compute to ''content/none'',
111115
which suppresses its creation.

0 commit comments

Comments
 (0)