Skip to content

Commit 5ed42ac

Browse files
committed
Formatting fixup.
1 parent c40da8f commit 5ed42ac

2 files changed

Lines changed: 18 additions & 22 deletions

File tree

css3-lists/Overview.html

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,8 +1855,8 @@ <h4 id=additive><span class=secno>8.1.6. </span> additive</h4>
18551855

18561856
<ol>
18571857
<li>Pop the first <a href="#additive-tuple"><i>additive tuple</i></a> from
1858-
the <var>glyph list</var>. This is the <dfn id=current-tuple>current
1859-
tuple</dfn>.
1858+
the <var>glyph list</var>. This is the <dfn id=current-tuple
1859+
title="current tuple|current tuple's">current tuple</dfn>.
18601860

18611861
<li>Append the <a href="#current-tuple"><i>current
18621862
tuple</i></a>&lsquo;<code class=css>s <a href="#counter-glyph"><i>counter
@@ -1865,10 +1865,9 @@ <h4 id=additive><span class=secno>8.1.6. </span> additive</h4>
18651865
weight )</code> times (this may be 0).
18661866

18671867
<li>Decrement <var>value</var> by the <var><a
1868-
href="#current-tuple"><i>current tuple</i></a>&lsquo;<code class=css>s
1869-
weight multiplied by the number of times the <a
1870-
href="#current-tuple"><i>current tuple</i></a> was appended to
1871-
<var>S</var> in the previous step.</code></var>
1868+
href="#current-tuple"><i>current tuple's</i></a> weight multiplied by the
1869+
number of times the <a href="#current-tuple"><i>current tuple</i></a> was
1870+
appended to <var>S</var> in the previous step.</var>
18721871
</ol>
18731872

18741873
<p>If the loop ended because <var>value</var> is 0, return S. Otherwise,
@@ -1881,16 +1880,10 @@ <h4 id=additive><span class=secno>8.1.6. </span> additive</h4>
18811880
<pre>
18821881
@counter-style <dfn id=dice>dice</dfn> {
18831882
type: additive;
1884-
additive-glyphs: 6 &rsquo;⚅&lsquo;<code
1885-
class=css>, 5 </code>&rsquo;⚄&lsquo;<code
1886-
class=css>, 4 </code>&rsquo;⚃&lsquo;<code
1887-
class=css>, 3 </code>&rsquo;⚂&lsquo;<code
1888-
class=css>, 2 </code>&rsquo;⚁&lsquo;<code
1889-
class=css>, 1 </code>&rsquo;⚀&lsquo;<code class=css>;
1890-
suffix: </code>&rsquo;&lsquo;<code
1891-
class=css>;
1883+
additive-glyphs: 6 '⚅', 5 '⚄', 4 '⚃', 3 '⚂', 2 '⚁', 1 '⚀';
1884+
suffix: '';
18921885
}
1893-
</code></pre>
1886+
</pre>
18941887

18951888
<p>It will then produce lists that look like:</p>
18961889

@@ -1908,10 +1901,10 @@ <h4 id=additive><span class=secno>8.1.6. </span> additive</h4>
19081901
<p>The <i>additive</i> type will produce representations with sizes that
19091902
are linear in the magnitude of the counter value. This can potentially be
19101903
abused to generate excessively large representations and consume undue
1911-
amounts of the user&rsquo;s memory or even hang their browser. User agents
1912-
must support representations at least 20 characters long, but they may
1913-
choose to instead use the fallback style for representations that would be
1914-
longer than 20 characters.
1904+
amounts of the user's memory or even hang their browser. User agents must
1905+
support representations at least 20 characters long, but they may choose
1906+
to instead use the fallback style for representations that would be longer
1907+
than 20 characters.
19151908

19161909
<h4 id=override><span class=secno>8.1.7. </span> override</h4>
19171910

@@ -4898,6 +4891,9 @@ <h2 class=no-num id=index>Index</h2>
48984891
<li>current tuple, <a href="#current-tuple"
48994892
title="current tuple"><strong>8.1.6.</strong></a>
49004893

4894+
<li>current tuple's, <a href="#current-tuple"
4895+
title="current tuple's"><strong>8.1.6.</strong></a>
4896+
49014897
<li>dash, <a href="#dash" title=dash><strong>10.1.</strong></a>
49024898

49034899
<li>decimal, <a href="#decimal" title=decimal><strong>10.2.</strong></a>

css3-lists/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,13 +1207,13 @@ <h4>
12071207

12081208
<ol>
12091209
<li>Pop the first <i>additive tuple</i> from the <var>glyph list</var>.
1210-
This is the <dfn>current tuple</dfn>.</li>
1210+
This is the <dfn title="current tuple|current tuple's">current tuple</dfn>.</li>
12111211

12121212
<li>Append the <i>current tuple</i>'s <i>counter glyph</i> to <var>S</var>
1213-
<code>floor( <var>value</var> / <var><i>current tuple</i>'s weight</var> )</code>
1213+
<code>floor( <var>value</var> / <var><i>current tuple's</i> weight</var> )</code>
12141214
times (this may be 0).</li>
12151215

1216-
<li>Decrement <var>value</var> by the <var><i>current tuple</i>'s weight multiplied
1216+
<li>Decrement <var>value</var> by the <var><i>current tuple's</i> weight multiplied
12171217
by the number of times the <i>current tuple</i> was appended to <var>S</var>
12181218
in the previous step.</li>
12191219
</ol>

0 commit comments

Comments
 (0)