Skip to content

Commit 4607d16

Browse files
committed
[css-counter-styles] Make range:auto and speak-as:auto transfer the 'auto' to the overridden system, per dbaron.
1 parent 21beb0c commit 4607d16

4 files changed

Lines changed: 22 additions & 6 deletions

File tree

css-counter-styles/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ Limiting the counter scope: the 'range' descriptor</h3>
700700
For ''additive'' systems,
701701
the range is 0 to positive infinity.
702702
For ''override'' systems,
703-
the range is identical to the overridden system.
703+
the range is whatever ''range/auto'' would produce for the overridden system.
704704

705705
<dt>[ [ <<integer>> | infinite ]{2} ]#
706706
<dd>
@@ -902,9 +902,9 @@ Speech Synthesis: the 'speak-as' descriptor</h3>
902902
If the counter style's 'system' is ''system/alphabetic'',
903903
this value has the same effect as ''speak-as/alphabetic''.
904904
If the 'system' is ''cyclic'',
905-
this value has the same effect as ''bullet''.
905+
this value has the same effect as ''speak-as/bullet''.
906906
If the 'system' is ''override'',
907-
this value has the same effect as the overridden style's 'speak-as'.
907+
this value has the same effect as ''speak-as/auto'' would have for the overridden style.
908908
Otherwise, this value has the same effect as ''speak-as/numeric''.
909909

910910
<dt><dfn>numeric</dfn>

css-counter-styles/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ <h3 class="heading settled heading" data-level=3.5 id=counter-style-range><span
818818
For <a class=css data-link-type=maybe href=#valuedef-additive title=additive>additive</a> systems,
819819
the range is 0 to positive infinity.
820820
For <a class=css data-link-type=maybe href=#valuedef-override title=override>override</a> systems,
821-
the range is identical to the overridden system.
821+
the range is whatever <a class=css data-link-for=range data-link-type=maybe href=#valuedef-auto0 title=auto>auto</a> would produce for the overridden system.
822822

823823
<dt>[ [ <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> | infinite ]{2} ]#
824824
<dd>
@@ -995,9 +995,9 @@ <h3 class="heading settled heading" data-level=3.9 id=counter-style-speak-as><sp
995995
If the counter style’s <a class=property data-link-type=propdesc href=#descdef-system title=system>system</a> is <a class=css data-link-for=system data-link-type=maybe href=#valuedef-alphabetic0 title=alphabetic>alphabetic</a>,
996996
this value has the same effect as <a class=css data-link-for=speak-as data-link-type=maybe href=#valuedef-alphabetic title=alphabetic>alphabetic</a>.
997997
If the <a class=property data-link-type=propdesc href=#descdef-system title=system>system</a> is <a class=css data-link-type=maybe href=#valuedef-cyclic title=cyclic>cyclic</a>,
998-
this value has the same effect as <a class=css data-link-type=maybe href=#valuedef-bullet title=bullet>bullet</a>.
998+
this value has the same effect as <a class=css data-link-for=speak-as data-link-type=maybe href=#valuedef-bullet title=bullet>bullet</a>.
999999
If the <a class=property data-link-type=propdesc href=#descdef-system title=system>system</a> is <a class=css data-link-type=maybe href=#valuedef-override title=override>override</a>,
1000-
this value has the same effect as the overridden style’s <a class=property data-link-type=propdesc href=#descdef-speak-as title=speak-as>speak-as</a>.
1000+
this value has the same effect as <a class=css data-link-for=speak-as data-link-type=maybe href=#valuedef-auto title=auto>auto</a> would have for the overridden style.
10011001
Otherwise, this value has the same effect as <a class=css data-link-for=speak-as data-link-type=maybe href=#valuedef-numeric title=numeric>numeric</a>.
10021002

10031003
<dt><dfn class=css-code data-dfn-for=@counter-style/speak-as data-dfn-type=value data-export="" id=valuedef-numeric>numeric<a class=self-link href=#valuedef-numeric></a></dfn>

css-counter-styles/issues-lc-20130718.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,11 @@ <h1>CSS Counter Styles Level 3 Disposition of Comments for 2013-07-18 LCWD</h1>
268268
Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0053.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0053.html</a>
269269
Response:
270270
Closed: Accepted</pre>
271+
<pre class='a' id='issue-33'>
272+
Issue 33. <a href='#issue-33'>#</a>
273+
Summary: "speak-as: auto" does the wrong thing for override systems.
274+
From: David Baron
275+
Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0054.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0054.html</a>
276+
Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0055.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0055.html</a>
277+
Response:
278+
Closed: Accepted</pre>

css-counter-styles/issues-lc-20130718.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,3 +241,11 @@ Comment: http://lists.w3.org/Archives/Public/www-style/2014May/0053.html
241241
Response:
242242
Closed: Accepted
243243
----
244+
Issue 33.
245+
Summary: "speak-as: auto" does the wrong thing for override systems.
246+
From: David Baron
247+
Comment: http://lists.w3.org/Archives/Public/www-style/2014May/0054.html
248+
Comment: http://lists.w3.org/Archives/Public/www-style/2014May/0055.html
249+
Response:
250+
Closed: Accepted
251+
----

0 commit comments

Comments
 (0)