Skip to content

Commit 1c641b3

Browse files
committed
[css-counter-styles] redo intro
--HG-- extra : rebase_source : 713b95c20703ad56d8517d9209e342d30642ba3a
1 parent db84a2a commit 1c641b3

2 files changed

Lines changed: 18 additions & 9 deletions

File tree

css-counter-styles/Overview.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,17 @@ <h1>CSS Counter Styles Level 3</h1>
5757

5858
<h2 class="no-num no-toc" id=abstract> Abstract</h2>
5959

60-
<p> This module introduces the ‘<code class=css>@counter-style</code>
61-
rule, for defining custom counter styles (algorithms for rendering
62-
counters with the ‘<code class=css>counter()</code>’ or ‘<code
63-
class=css>counters()</code>’ functions). It also predefines several
64-
counter styles that all CSS user agents must <a
60+
<p> The <a href="http://www.w3.org/TR/css3-lists/">CSS Lists Module</a>
61+
defines the concept of counters, which can be used implicitly in list
62+
markers or explicitly with the ‘<code class=css>counter()</code>’ or
63+
<code class=css>counters()</code>’ functions. A counter's integer
64+
value is turned into a string by providing a <a
65+
href="#counter-style0"><i>counter style</i></a>. This module introduces
66+
the ‘<code class=css>@counter-style</code>’ rule, which allows authors
67+
to define their own custom <i>counter styles</i>. It also redefines all
68+
the counter styles present in CSS2 and CSS2.1, plus a small number of
69+
other useful counter styles, in terms of ‘<code
70+
class=css>@counter-style</code>’ rules in the UA style sheet. <a
6571
href="http://www.w3.org/TR/CSS/">CSS</a> is a language for describing the
6672
rendering of structured documents (such as HTML and XML) on screen, on
6773
paper, in speech, etc.

css-counter-styles/Overview.src.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ <h2 class="no-num no-toc" id="abstract">
2929
Abstract</h2>
3030

3131
<p>
32+
The <a href="http://www.w3.org/TR/css3-lists/">CSS Lists Module</a> defines the concept of counters,
33+
which can be used implicitly in list markers or explicitly with the ''counter()'' or ''counters()'' functions.
34+
A counter's integer value is turned into a string by providing a <i>counter style</i>.
3235
This module introduces the ''@counter-style'' rule,
33-
for defining custom counter styles
34-
(algorithms for rendering counters with the ''counter()'' or ''counters()'' functions).
35-
It also predefines several counter styles
36-
that all CSS user agents must
36+
which allows authors to define their own custom <i>counter styles</i>.
37+
It also redefines all the counter styles present in CSS2 and CSS2.1,
38+
plus a small number of other useful counter styles,
39+
in terms of ''@counter-style'' rules in the UA style sheet.
3740
<a href="http://www.w3.org/TR/CSS/">CSS</a> is a language for describing the rendering of structured documents (such as HTML and XML) on screen, on paper, in speech, etc.
3841

3942
<h2 class="no-num no-toc" id="status">

0 commit comments

Comments
 (0)