Skip to content

Commit 1b3d41b

Browse files
committed
[css-lists] Rough draft rewrite of the ::marker intro section.
1 parent 35411ac commit 1b3d41b

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

css-lists-3/Overview.bs

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

91-
The defining feature of a <a>list item</a> is its <dfn export>marker</dfn>,
91+
The defining feature of the <a>list item</a> <a>display type</a> is its <i>marker</i>,
9292
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.
9397

9498
<h3 id='marker-pseudo'>
9599
The ''::marker'' Pseudo-Element</h3>
96100

97-
The ''::marker'' pseudo-element is automatically generated by a <a>list item</a>,
98-
and is automatically filled with content
99-
according to the <a>list item’s</a> 'list-style' property
100-
(or its subproperties).
101-
102-
The ''::marker'' pseudo-element is generated as the first child of the <a>list item</a>,
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>,
103103
before the ''::before'' pseudo-element
104-
(if that exists on the element).
105-
''::marker''s are <a>inline</a> by default,
106-
tho 'list-style-position' can cause them become <a>absolutely positioned</a>.
104+
(if it exists on the element)
105+
and filled with content
106+
as defined in [[#content-property]].
107107

108-
The ''::marker'' pseudo-element only exists on <a>list items</a>.
109-
On any other element,
108+
<a>Marker boxes</a> only exist on <a>list items</a>;
109+
on any other element,
110110
the ''::marker'' pseudo-element's 'content' property must compute to ''content/none'',
111111
which suppresses its creation.
112112

0 commit comments

Comments
 (0)