Skip to content

Commit b53be41

Browse files
committed
Rewording the list-style-type section to not forget about 'inline'.
1 parent 2e44489 commit b53be41

2 files changed

Lines changed: 33 additions & 33 deletions

File tree

css3-lists/Overview.html

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525

2626
<h1>CSS Lists and Counters Module Level 3</h1>
2727

28-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 April 2011</h2>
28+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 29 April 2011</h2>
2929

3030
<dl>
3131
<dt>This version:
3232

33-
<dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110428">http://www.w3.org/TR/2011/WD-css3-lists-20110428</a></dd> -->
33+
<dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110429">http://www.w3.org/TR/2011/WD-css3-lists-20110429</a></dd> -->
3434
<a
3535
href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a>
3636

@@ -410,16 +410,12 @@ <h2 id=marker-content><span class=secno>3. </span> Marker Content: The
410410
<td>specified value
411411
</table>
412412

413-
<p>This property specifies the default contents of the list item marker if
414-
&lsquo;<a href="#list-style-image"><code
415-
class=property>list-style-image</code></a>&rsquo; has the value &lsquo;<a
416-
href="#none"><code class=property>none</code></a>&rsquo; or if the image
417-
pointed to by the URI cannot be displayed. The value &lsquo;<a
418-
href="#none"><code class=property>none</code></a>&rsquo; specifies no
419-
marker, and a string value uses the given string; otherwise, the value
420-
specifies a <a href="#ltcounter-style"><b>&lt;counter-style></b></a> which
421-
is used to format the value of the &lsquo;<code
422-
class=css>list-item</code>&rsquo; counter.
413+
<p>When the &lsquo;<a href="#list-style-image"><code
414+
class=property>list-style-image</code></a>&rsquo; property is &lsquo;<a
415+
href="#none"><code class=css>none</code></a>&rsquo; or not a valid image,
416+
the &lsquo;<a href="#list-style-type"><code
417+
class=property>list-style-type</code></a>&rsquo; property is instead used
418+
to construct the default contents of a list item's marker.
423419

424420
<dl>
425421
<dt><dfn id=ltstring>&lt;string></dfn>
@@ -436,15 +432,18 @@ <h2 id=marker-content><span class=secno>3. </span> Marker Content: The
436432
given counter style. Algorithms for formatting a value according to a
437433
counter style are given later in this spec.</p>
438434

439-
<p>The <b>UA style sheet</b> given later in this spec provides a large
440-
list of counter style definitions, and authors or users may define their
441-
own counter styles as well.</p>
435+
<p>This specification defines a method for authors to create their own
436+
counter styles which may be used here. Additionally, many useful counter
437+
styles are predefined in the sections on <a
438+
href="#predefined-counters">Predefined Counter Styles</a> and <a
439+
href="#ua-stylesheet">Additional Predefined Counter Styles</a>.</p>
442440

443441
<dt><dfn id=inline>inline</dfn>
444442

445443
<dd>The &lsquo;<code class=css>::marker</code>&rsquo; pseudoelement's
446-
default contents must be the contents of the list item's first child
447-
element with &lsquo;<code class=css>display: marker</code>&rsquo;.
444+
default contents must be the textual contents of the list item's first
445+
child that is an <i title=inline-marker-candidate>inline marker
446+
candidate</i>, if one exists.
448447

449448
<dt><dfn id=none>none</dfn>
450449

@@ -643,10 +642,10 @@ <h2 id=list-style-position-property><span class=secno>4. </span> Marker
643642
<p><img alt="list with bullets to the left of it and list with bullets
644643
inside" id=img-list-inout src=list-inout.gif></p>
645644
</div>
646-
</div>
647645

648-
<p>In right-to-left text, the markers would have been on the right side of
649-
the box.</p>
646+
<p>In right-to-left text, the markers would have been on the right side of
647+
the box.</p>
648+
</div>
650649
<!-- ====================================================================== -->
651650

652651
<h2 id=list-style-property><span class=secno>5. </span> The &lsquo;<a

css3-lists/Overview.src.html

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,9 @@ <h2 id='marker-content'>
187187
<td>specified value
188188
</table>
189189

190-
<p>This property specifies the default contents of the list item
191-
marker if 'list-style-image' has the
192-
value 'none' or if the image pointed to by the URI cannot be
193-
displayed. The value 'none' specifies no marker, and a string value uses the
194-
given string; otherwise, the value specifies a <b>&lt;counter-style></b> which
195-
is used to format the value of the ''list-item'' counter.</p>
190+
<p>When the 'list-style-image' property is ''none'' or not a valid image,
191+
the 'list-style-type' property is instead used to construct the default
192+
contents of a list item's marker.</p>
196193

197194
<dl>
198195
<dt><dfn>&lt;string></dfn></dt>
@@ -205,14 +202,18 @@ <h2 id='marker-content'>
205202
the ''list-item'' counter, formatted according to the given counter style.
206203
Algorithms for formatting a value according to a counter style are given
207204
later in this spec.</p>
208-
<p>The <b>UA style sheet</b> given later in this spec provides a large list
209-
of counter style definitions, and authors or users may define their own
210-
counter styles as well.</p>
205+
<p>This specification defines a method for authors to create their
206+
own counter styles which may be used here. Additionally, many
207+
useful counter styles are predefined in the sections on
208+
<a href="#predefined-counters">Predefined Counter Styles</a> and
209+
<a href="#ua-stylesheet">Additional Predefined Counter Styles</a>.</p>
211210
</dd>
212211

213212
<dt><dfn>inline</dfn></dt>
214-
<dd>The ''::marker'' pseudoelement's default contents must be the contents
215-
of the list item's first child element with ''display: marker''.</dd>
213+
<dd>The ''::marker'' pseudoelement's default contents must be the textual
214+
contents of the list item's first child that is an
215+
<i title="inline-marker-candidate">inline marker candidate</i>, if one
216+
exists.</dd>
216217

217218
<dt><dfn>none</dfn></dt>
218219
<dd>The ''::marker'' pseudoelement must have no default contents. This will
@@ -357,9 +358,9 @@ <h2 id='list-style-position-property'>
357358
<div class="figure">
358359
<p><img id="img-list-inout" src="list-inout.gif" alt="list with bullets to the left of it and list with bullets inside"></p>
359360
</div>
360-
</div>
361361

362-
<p>In right-to-left text, the markers would have been on the right side of the box.</p>
362+
<p>In right-to-left text, the markers would have been on the right side of the box.</p>
363+
</div>
363364

364365
<!-- ====================================================================== -->
365366

0 commit comments

Comments
 (0)