Skip to content

Commit 48ae4e6

Browse files
committed
[css3-lists] markup reformat
1 parent b7fb527 commit 48ae4e6

2 files changed

Lines changed: 19 additions & 8 deletions

File tree

css3-lists/Overview.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,24 +1903,24 @@ <h3 id=nested-counters><span class=secno>8.3. </span> Nested Counters</h3>
19031903
<h3 id=counters-without-boxes><span class=secno>8.4. </span> Counters in
19041904
elements that do not generate boxes</h3>
19051905

1906-
<p>An element that does not generate a box (for example, an element with
1906+
<p> An element that does not generate a box (for example, an element with
19071907
<code class=property>display</code>’ set to ‘<a
19081908
href="#list-style-type-none"><code class=css>none</code></a>’, or a
19091909
pseudo-element with ‘<code class=property>content</code>’ set to ‘<a
19101910
href="#list-style-type-none"><code class=css>none</code></a>’) cannot
19111911
set, reset, or increment a counter. The counter properties are still valid
1912-
on such an element, they simply must have no effect.
1912+
on such an element, but they must have no effect.
19131913

19141914
<div class=example>
1915-
<p>For example, with the following style sheet, H2s with class "secret" do
1916-
not increment ‘<code class=css>count2</code>’.
1915+
<p> For example, with the following style sheet, H2s with class "secret"
1916+
do not increment ‘<code class=css>count2</code>’.
19171917

19181918
<pre>
19191919
h2 { counter-increment: count2; }
19201920
h2.secret { display: none; }</pre>
19211921
</div>
19221922

1923-
<p>Other methods of "hiding" elements, such as setting ‘<code
1923+
<p> Other methods of "hiding" elements, such as setting ‘<code
19241924
class=property>visibility</code>’ to ‘<code
19251925
class=css>hidden</code>’, still cause the element to generate a box, and
19261926
so do not apply here.

css3-lists/Overview.src.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,17 +1278,28 @@ <h3 id='nested-counters'>
12781278
<h3 id='counters-without-boxes'>
12791279
Counters in elements that do not generate boxes</h3>
12801280

1281-
<p>An element that does not generate a box (for example, an element with 'display' set to ''none'', or a pseudo-element with 'content' set to ''none'') cannot set, reset, or increment a counter. The counter properties are still valid on such an element, they simply must have no effect.
1281+
<p>
1282+
An element that does not generate a box
1283+
(for example, an element with 'display' set to ''none'', or a pseudo-element with 'content' set to ''none'')
1284+
cannot set, reset, or increment a counter.
1285+
The counter properties are still valid on such an element,
1286+
but they must have no effect.
12821287

12831288
<div class="example">
1284-
<p>For example, with the following style sheet, H2s with class "secret" do not increment 'count2'.
1289+
<p>
1290+
For example, with the following style sheet,
1291+
H2s with class "secret" do not increment 'count2'.
12851292

12861293
<pre>
12871294
h2 { counter-increment: count2; }
12881295
h2.secret { display: none; }</pre>
12891296
</div>
12901297

1291-
<p>Other methods of "hiding" elements, such as setting 'visibility' to ''hidden'', still cause the element to generate a box, and so do not apply here.
1298+
<p>
1299+
Other methods of "hiding" elements,
1300+
such as setting 'visibility' to ''hidden'',
1301+
still cause the element to generate a box,
1302+
and so do not apply here.
12921303

12931304

12941305
<h2 id='counter-function'>

0 commit comments

Comments
 (0)