Skip to content

Commit a34cfaf

Browse files
committed
[css-lists] fixes
1 parent 017505a commit a34cfaf

2 files changed

Lines changed: 12 additions & 23 deletions

File tree

css-lists/Overview.html

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ <h2 class="heading settled heading" data-level=3 id=marker-content><span class=s
243243

244244
<pre>li { list-style-image: url("http://www.example.com/ellipse.png") }</pre> </div>
245245

246-
<table class="definition propdef"><tr><th>Name:<td><dfn class=css-code data-dfn-type=property data-export="" id=propdef-list-style-type>list-style-type<a class=self-link href=#propdef-list-style-type></a></dfn><tr><th>Value:<td><a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#string-value title="<string>">&lt;string&gt;</a> | <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-counter-styles-3/#typedef-counter-style-name title="<counter-style-name>">&lt;counter-style-name&gt;</a> | <a class="production css-code" data-link-type=function href=http://dev.w3.org/csswg/css-counter-styles-3/#funcdef-symbols title=symbols()>&lt;symbols()&gt;</a> | none<tr><th>Initial:<td>disc<tr><th>Applies to:<td><a data-link-type=dfn href=#list-item title="list items">list items</a><tr><th>Inherited:<td>yes<tr><th>Media:<td>visual<tr><th>Computed value:<td>specified value<tr><th>Percentages:<td>n/a</table>
246+
<table class="definition propdef"><tr><th>Name:<td><dfn class=css-code data-dfn-type=property data-export="" id=propdef-list-style-type>list-style-type<a class=self-link href=#propdef-list-style-type></a></dfn><tr><th>Value:<td><a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#string-value title="<string>">&lt;string&gt;</a> | <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-counter-styles-3/#typedef-counter-style title="<counter-style>">&lt;counter-style&gt;</a> | none<tr><th>Initial:<td>disc<tr><th>Applies to:<td><a data-link-type=dfn href=#list-item title="list items">list items</a><tr><th>Inherited:<td>yes<tr><th>Media:<td>visual<tr><th>Computed value:<td>specified value<tr><th>Percentages:<td>n/a</table>
247247
<p> When the value of <a class=property data-link-type=propdesc href=#propdef-list-style-image title=list-style-image>list-style-image</a> is <a class=css data-link-type=maybe href=#valuedef-none0 title=none>none</a>
248248
or an <a href=http://www.w3.org/TR/css3-images/#invalid-image>invalid image</a>,
249249
the <a class=property data-link-type=propdesc href=#propdef-list-style-type title=list-style-type>list-style-type</a> property is used to construct the default contents of a list item’s marker;
@@ -255,17 +255,12 @@ <h2 class="heading settled heading" data-level=3 id=marker-content><span class=s
255255
<dd>
256256
The <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#string-value title="<string>">&lt;string&gt;</a> is used as the list item’s marker’s <a data-link-type=dfn href=#default-contents title="default contents">default contents</a>.
257257

258-
<dt><dfn class=css-code data-dfn-for=list-style-type data-dfn-type=value data-export="" id=valuedef-counter-style-name>&lt;counter-style-name&gt;<a class=self-link href=#valuedef-counter-style-name></a></dfn>
258+
<dt><dfn class=css-code data-dfn-for=list-style-type data-dfn-type=value data-export="" id=valuedef-counter-style>&lt;counter-style&gt;<a class=self-link href=#valuedef-counter-style></a></dfn>
259259
<dd>
260-
If there is a counter style defined matching the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-counter-styles-3/#typedef-counter-style-name title="<counter-style-name>">&lt;counter-style-name&gt;</a>,
260+
If there is a counter style defined matching the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-counter-styles-3/#typedef-counter-style title="<counter-style>">&lt;counter-style&gt;</a>,
261261
the list item’s marker’s <a data-link-type=dfn href=#default-contents title="default contents">default contents</a> are that counter style. <a data-biblio-type=informative data-link-type=biblio href=#css-counter-styles-3 title=css-counter-styles-3>[CSS-COUNTER-STYLES-3]</a>
262262
Otherwise, the list item’s marker’s <a data-link-type=dfn href=#default-contents title="default contents">default contents</a> are <a class=css data-link-type=maybe href=#valuedef-none0 title=none>none</a>.
263263

264-
<dt><dfn class=css-code data-dfn-for=list-style-type data-dfn-type=value data-export="" id=valuedef-symbols-function>&lt;symbols-function&gt;<a class=self-link href=#valuedef-symbols-function></a></dfn>
265-
<dd>
266-
The list item’s marker’s <a data-link-type=dfn href=#default-contents title="default contents">default contents</a> are the counter style
267-
represented by the <a class="production css-code" data-link-type=function href=http://dev.w3.org/csswg/css-counter-styles-3/#funcdef-symbols title=symbols()>&lt;symbols()&gt;</a>. <a data-biblio-type=informative data-link-type=biblio href=#css-counter-styles-3 title=css-counter-styles-3>[CSS-COUNTER-STYLES-3]</a>
268-
269264
<dt><dfn class=css-code data-dfn-for=list-style-type data-dfn-type=value data-export="" id=valuedef-none1>none<a class=self-link href=#valuedef-none1></a></dfn>
270265
<dd>
271266
The list item’s marker’s <a data-link-type=dfn href=#default-contents title="default contents">default contents</a> are <a class=css data-link-type=maybe href=#valuedef-none0 title=none>none</a>.
@@ -792,7 +787,7 @@ <h3 class="heading settled heading" data-level=8.1 id=counter-properties><span c
792787
<dt><dfn class=css-code data-dfn-for=counter-reset data-dfn-type=value data-export="" id=valuedef-custom-ident-integer0><a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#identifier-value title="<custom-ident>">&lt;custom-ident&gt;</a> <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a>?<a class=self-link href=#valuedef-custom-ident-integer0></a></dfn>
793788
<dd>
794789
The element <a data-link-type=dfn href=#create-a-new-counter title="create a new counter">creates one or more new counters</a>.
795-
Each <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#identifier-value title="<custom-ident>">&lt;custom-ident&gt;</a>&gt; names a new counter to be created.
790+
Each <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#identifier-value title="<custom-ident>">&lt;custom-ident&gt;</a> names a new counter to be created.
796791

797792
<p> If an <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a> is provided after an <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#identifier-value title="<custom-ident>">&lt;custom-ident&gt;</a>,
798793
the starting value of the new counter is that integer.
@@ -1089,7 +1084,7 @@ <h2 class="heading settled heading" data-level=9 id=counter-functions><span clas
10891084
Otherwise, the function represents the string returned when one <a data-link-type=dfn href=http://dev.w3.org/csswg/css-counter-styles-3/#generate-a-counter title="generate a counter representation">generates a counter representation</a>
10901085
for the value of the innermost counter of that name on the element
10911086
(or <span class=css data-link-type=maybe title=0>0</span> if the element has no counter of that name)
1092-
using the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-counter-styles-3/#typedef-counter-style title="<counter-style>">&lt;counter-style&gt;</a>&gt; specified by the second argument.
1087+
using the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-counter-styles-3/#typedef-counter-style title="<counter-style>">&lt;counter-style&gt;</a> specified by the second argument.
10931088
</ul>
10941089

10951090
<div class=example>
@@ -1492,7 +1487,7 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
14921487
<li>counter-reset, <a href=#propdef-counter-reset title="section 8.1">8.1</a>
14931488
<li>counters(), <a href=#funcdef-counters title="section 9">9</a>
14941489
<li>counter-set, <a href=#propdef-counter-set title="section 8.1">8.1</a>
1495-
<li>&lt;counter-style-name&gt;, <a href=#valuedef-counter-style-name title="section 3">3</a>
1490+
<li>&lt;counter-style&gt;, <a href=#valuedef-counter-style title="section 3">3</a>
14961491
<li>&lt;counter-suffix&gt;, <a href=#typedef-counter-suffix title="section 6.1">6.1</a>
14971492
<li>create a new counter, <a href=#create-a-new-counter title="section 8.2">8.2</a>
14981493
<li>&lt;custom-ident&gt; &lt;integer&gt;?<ul><li>value for counter-reset, <a href=#valuedef-custom-ident-integer0 title="section 8.1">8.1</a>
@@ -1520,14 +1515,13 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
15201515
<li>value for counter-set, counter-increment, <a href=#valuedef-none title="section 8.1">8.1</a>
15211516
</ul><li>outside, <a href=#list-style-position-outside title="section 4">4</a>
15221517
<li>&lt;string&gt;, <a href=#valuedef-string title="section 3">3</a>
1523-
<li>&lt;symbols-function&gt;, <a href=#valuedef-symbols-function title="section 3">3</a>
15241518
</ul></div>
15251519

15261520
<h2 class="no-num no-ref heading settled heading" id=property-index><span class=content>
15271521
Property index</span><a class=self-link href=#property-index></a></h2>
15281522
<div data-fill-with=property-index><table class="proptable data"><thead><tr><th scope=col>Name<th scope=col>Value<th scope=col>Initial<th scope=col>Applies to<th scope=col>Inh.<th scope=col>%ages<th scope=col>Media<th scope=col>Computed value<tbody>
15291523
<tr><th scope=row><a data-property="">list-style-image</a><td>&lt;image&gt; | none<td>none<td>list items<td>yes<td>n/a<td>visual<td>computed value fo the &lt;image&gt;, or none
1530-
<tr><th scope=row><a data-property="">list-style-type</a><td>&lt;string&gt; | &lt;counter-style-name&gt; | &lt;symbols()&gt; | none<td>disc<td>list items<td>yes<td>n/a<td>visual<td>specified value
1524+
<tr><th scope=row><a data-property="">list-style-type</a><td>&lt;string&gt; | &lt;counter-style&gt; | none<td>disc<td>list items<td>yes<td>n/a<td>visual<td>specified value
15311525
<tr><th scope=row><a data-property="">list-style-position</a><td>inside | outside<td>outside<td>list items<td>yes<td>n/a<td>visual<td>specified value (but see prose)
15321526
<tr><th scope=row><a data-property="">list-style</a><td>&lt;‘list-style-type’&gt; || &lt;‘list-style-position’&gt; || &lt;‘list-style-image’&gt;<td>see individual properties<td>list items<td>see individual properties<td>see individual properties<td>visual<td>see individual properties
15331527
<tr><th scope=row><a data-property="">marker-side</a><td>list-item | list-container<td>list-item<td>list items<td>yes<td>n/a<td>visual<td>specified value

css-lists/Overview.src.html

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ <h2 id='marker-content'>
136136

137137
<pre class="propdef">
138138
Name: list-style-type
139-
Value: <<string>> | <<counter-style-name>> | <<symbols()>> | none
139+
Value: <<string>> | <<counter-style>> | none
140140
Initial: disc
141141
Applies to: <a>list items</a>
142142
Inherited: yes
@@ -156,17 +156,12 @@ <h2 id='marker-content'>
156156
<dd>
157157
The <<string>> is used as the list item's marker's <i>default contents</i>.
158158

159-
<dt><dfn>&lt;counter-style-name></dfn>
159+
<dt><dfn>&lt;counter-style></dfn>
160160
<dd>
161-
If there is a counter style defined matching the <<counter-style-name>>,
161+
If there is a counter style defined matching the <<counter-style>>,
162162
the list item's marker's <i>default contents</i> are that counter style. [[CSS-COUNTER-STYLES-3]]
163163
Otherwise, the list item's marker's <i>default contents</i> are ''none''.
164164

165-
<dt><dfn>&lt;symbols-function></dfn>
166-
<dd>
167-
The list item's marker's <i>default contents</i> are the counter style
168-
represented by the <<symbols()>>. [[CSS-COUNTER-STYLES-3]]
169-
170165
<dt><dfn>none</dfn>
171166
<dd>
172167
The list item's marker's <i>default contents</i> are ''none''.
@@ -780,7 +775,7 @@ <h3 id='counter-properties'>
780775
<dt><dfn><<custom-ident>> <<integer>>?</dfn>
781776
<dd>
782777
The element <i title="create a new counter">creates one or more new counters</i>.
783-
Each <<custom-ident>>> names a new counter to be created.
778+
Each <<custom-ident>> names a new counter to be created.
784779

785780
If an <<integer>> is provided after an <<custom-ident>>,
786781
the starting value of the new counter is that integer.
@@ -1116,7 +1111,7 @@ <h2 id='counter-functions'>
11161111
Otherwise, the function represents the string returned when one <a title="generate a counter representation">generates a counter representation</a>
11171112
for the value of the innermost counter of that name on the element
11181113
(or ''0'' if the element has no counter of that name)
1119-
using the <<counter-style>>> specified by the second argument.
1114+
using the <<counter-style>> specified by the second argument.
11201115
</ul>
11211116

11221117
<div class="example">

0 commit comments

Comments
 (0)