@@ -187,40 +187,34 @@ The ''::marker'' Pseudo-Element</h3>
187187 </div>
188188
189189<h3 id='content-property'>
190- Generating The ''::marker'' Boxes </h3>
190+ Generating Marker Contents </h3>
191191
192- The ''::marker'' pseudo-element
193- generates different contents
194- (always <a>anonymous</a> )
195- according to the 'list-style-image' and 'list-style-type' properties
196- on its <a>originating element</a> ,
197- depending on the first of these conditions that is true:
192+ The contents of the ''::marker'' pseudo-element
193+ are determined by the first of these conditions that is true:
198194
199195 <dl class=switch>
200- <dt> 'list-style-image' is a <a>valid image</a>
196+ <dt> 'content' on the ''::marker'' itself is not ''content/normal''
201197 <dd>
202198 The contents of the ''::marker''
203- are an <a>anonymous</a> <a>inline</a> <a>replaced element</a>
204- representing the <<image>> ,
205- followed by a <a>text run</a> containing a single space (U+0020 SPACE).
199+ are determined as defined by the 'content' property,
200+ exactly as for ''::before'' .
206201
207- <dt> 'list-style-type' is a <<string>>
202+ <dt> 'list-style-image' on the [=originating element=] defines a [=marker image=]
208203 <dd>
209- The contents of the ''::marker''
210- are a <a>text run</a> containing the <<string>> .
204+ The ''::marker'' contains
205+ an <a>anonymous</a> <a>inline</a> <a>replaced element</a>
206+ representing the specified [=marker image=] ,
207+ followed by a <a>text run</a> containing a single space (U+0020 SPACE).
211208
212- <dt> 'list-style-type' is a <<counter-style>>
209+ <dt> 'list-style-type' on the [=originating element=] defines a [=marker string=]
213210 <dd>
214- The contents of the ''::marker''
215- are a <a>text run</a> containing the ''@counter-style/prefix'' of the <<counter-style>> ,
216- followed by the result of <a lt="generate a counter representation">generating a counter representation</a>
217- for the <<counter-style>>
218- and the value of the <css> list-item</css> counter on the <a>originating element</a> ,
219- followed by a <a>text run</a> containing the ''@counter-style/suffix'' of the <<counter-style>> .
211+ The ''::marker'' contains
212+ a [=text run=] containing the specified [=marker string=] .
220213
221214 <dt> otherwise
222215 <dd>
223- The ''::marker'' has no contents.
216+ The ''::marker'' has no contents
217+ and does not generate a box.
224218 </dl>
225219
226220<!--
@@ -247,25 +241,22 @@ Image Markers: the 'list-style-image' property</h3>
247241 Animation type : discrete
248242 </pre>
249243
250- The 'list-style-image' property specifies an image
251- that will be used to fill the ''::marker'' pseudo-element.
244+ Specifies the <dfn>marker image</dfn> ,
245+ which is used to fill the [=list item’s=] [=marker=]
246+ when its 'content' is ''content/normal'' .
252247 The values are as follows:
253248
254249 <dl dfn-type="value" dfn-for="list-style-image">
255250 <dt> <dfn><<image>></dfn>
256251 <dd>
257- Specifies that the ''::marker'' for the <a>list item</a>
258- should show the specified <<image>> .
259-
260- If the <<image>> ends up being an <a>invalid image</a> ,
261- this value instead does nothing
262- (like ''list-style-image/none'' ).
252+ If the <<image>> represents a [=valid image=] ,
253+ specifies the element's <a>marker image</a> as the <<image>> .
254+ Otherwise,
255+ the element has no [=marker image=] .
263256
264257 <dt> <dfn>none</dfn>
265258 <dd>
266- Does nothing.
267- Instead, 'list-style-type' will be consulted
268- to determine how to fill the ''::marker'' .
259+ The element has no <a>marker image</a> .
269260 </dl>
270261
271262 <div class="example">
@@ -299,24 +290,36 @@ Text-based Markers: the 'list-style-type' property</h3>
299290 Animation type : discrete
300291 </pre>
301292
302- When the value of 'list-style-image' is ''list-style-image/none''
303- or an <a>invalid image</a> ,
304- the 'list-style-type' property instead specifies how to fill the ''::marker'' .
293+ Specifies the <dfn>marker string</dfn> ,
294+ which is used to fill the <a>list item</a> ’s <a>marker</a>
295+ when its 'content' value is ''content/normal''
296+ and there is [=marker image=] .
305297 The values are as follows:
306298
307299 <dl dfn-type="value" dfn-for="list-style-type">
308300 <dt> <dfn><<counter-style>></dfn>
309301 <dd>
310- The ''::marker'' ‘s contents will be generated
311- according to the rules for that <a>counter style</a> . [[!CSS-COUNTER-STYLES-3]]
302+ Specifies the element’s <a>marker string</a> as
303+ the value of the ''counter()/list-item'' counter
304+ represented using the specified <<counter-style>> .
305+
306+ Specifically,
307+ the <a>marker string</a> is
308+ the result of <a lt="generate a counter representation">generating a counter representation</a>
309+ of the ''counter()/list-item'' counter value
310+ using the specified <<counter-style>> ,
311+ prefixed by the '@counter-style/prefix' of the <<counter-style>> ,
312+ and followed by the '@counter-style/suffix' of the <<counter-style>> .
313+ If the specified <<counter-style>> does not exist,
314+ ''decimal'' is assumed.
312315
313316 <dt> <dfn><<string>></dfn>
314317 <dd>
315- The '':: marker'' will contain the <<string>> .
318+ The element’s <a> marker string</a> is the specified <<string>> .
316319
317320 <dt> <dfn>none</dfn>
318321 <dd>
319- The ''::marker'' will not contain anything .
322+ The element has no <a>marker string</a> .
320323 </dl>
321324
322325 <div class='example'>
0 commit comments