Skip to content

Commit 24a4ef8

Browse files
committed
missing voice-family commit
1 parent ebbeb4c commit 24a4ef8

2 files changed

Lines changed: 48 additions & 37 deletions

File tree

css3-speech/Overview.html

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,9 +1717,8 @@ <h3 id=voice-props-voice-family><span class=secno>10.1. </span>The
17171717
<tr>
17181718
<td> <em>Value:</em>
17191719

1720-
<td> [[&lt;name&gt; | [&lt;age&gt;? &lt;gender&gt; &lt;non-negative
1721-
number&gt;?]],]* [&lt;name&gt; | [&lt;age&gt;? &lt;gender&gt;
1722-
&lt;non-negative number&gt;?]] | preserve
1720+
<td> [[&lt;name&gt; | &lt;generic-voice&gt;],]* [&lt;name&gt; |
1721+
&lt;generic-voice&gt;] | preserve
17231722

17241723
<tr>
17251724
<td> <em>Initial:</em>
@@ -1758,7 +1757,10 @@ <h3 id=voice-props-voice-family><span class=secno>10.1. </span>The
17581757
synthesis voices (analogous to &lsquo;<code class=css><a
17591758
href="#font-family-def"><code
17601759
class=property>font-family</code></a></code>&rsquo; in visual style
1761-
sheets).
1760+
sheets), where:
1761+
1762+
<p> <strong>&lt;generic-voice&gt;</strong> = [&lt;age&gt;? &lt;gender&gt;
1763+
&lt;integer&gt;?]
17621764

17631765
<p class=note> Note that the functionality provided by this property is
17641766
related to the <a
@@ -1801,25 +1803,25 @@ <h3 id=voice-props-voice-family><span class=secno>10.1. </span>The
18011803
<dt> <strong>&lt;age&gt;</strong>
18021804

18031805
<dd>
1804-
<p> Possible values are <a href="#non-negative-number-def">non-negative
1805-
numbers</a> restricted to positive integers (i.e. excluding zero),
1806-
indicating the preferred age in years (since birth) of the voice.</p>
1806+
<p> An <a href="#integer-def">integer</a> indicating the preferred age in
1807+
years (since birth) of the voice. Only positive integers (i.e. excluding
1808+
zero) are allowed.</p>
18071809

18081810
<dt> <strong>&lt;gender&gt;</strong>
18091811

18101812
<dd>
1811-
<p>Values are voice families. Possible values are &lsquo;<code
1812-
class=property>male</code>&rsquo;, &lsquo;<code
1813-
class=property>female</code>&rsquo; and &lsquo;<code
1814-
class=property>neutral</code>&rsquo;.</p>
1813+
<p> One of the keywords &lsquo;<code class=property>male</code>&rsquo;,
1814+
&lsquo;<code class=property>female</code>&rsquo;, or &lsquo;<code
1815+
class=property>neutral</code>&rsquo;, specifying a male, female, or
1816+
neutral voice, respectively.</p>
18151817

1816-
<dt> <strong>&lt;non-negative number&gt;</strong>
1818+
<dt> <strong>&lt;integer&gt;</strong>
18171819

18181820
<dd>
1819-
<p>Indicates a preferred variant (e.g. "the second male child voice").
1820-
Possible values are <a href="#non-negative-number-def">non-negative
1821-
numbers</a> restricted to integers, and excluding zero (i.e. starting
1822-
from 1). The value "1" refers to the first of all matching voices.</p>
1821+
<p>An <a href="#integer-def">integer</a> indicating the preferred variant
1822+
(e.g. "the second male child voice"). Only positive integers (i.e.
1823+
excluding zero) are allowed. The value "1" refers to the first of all
1824+
matching voices.</p>
18231825

18241826
<dt> <strong>preserve</strong>
18251827

@@ -1828,9 +1830,8 @@ <h3 id=voice-props-voice-family><span class=secno>10.1. </span>The
18281830
class=property>voice-family</code></a>&rsquo; value gets inherited and
18291831
used regardless of any potential language change within the content
18301832
markup (see the section below about voice selection and language
1831-
handling). This property value behaves similarly to &lsquo;<code
1832-
class=property>inherit</code>&rsquo; when applied to the root content
1833-
element (defaults to the user or user-agent stylesheet).</p>
1833+
handling). This value behaves as &lsquo;<code
1834+
class=property>inherit</code>&rsquo; when applied to the root element.</p>
18341835

18351836
<p class=note> Note that descendants of the selected element
18361837
automatically inherit the &lsquo;<code
@@ -2867,9 +2868,8 @@ <h2 class=no-num id=property-index>Appendix A &mdash; Property index</h2>
28672868
<tr>
28682869
<td><a class=property href="#voice-family">voice-family</a>
28692870

2870-
<td>[[&lt;name&gt; | [&lt;age&gt;? &lt;gender&gt; &lt;non-negative
2871-
number&gt;?]],]* [&lt;name&gt; | [&lt;age&gt;? &lt;gender&gt;
2872-
&lt;non-negative number&gt;?]] | preserve
2871+
<td>[[&lt;name&gt; | &lt;generic-voice&gt;],]* [&lt;name&gt; |
2872+
&lt;generic-voice&gt;] | preserve
28732873

28742874
<td>implementation-dependent
28752875

@@ -3030,6 +3030,11 @@ <h2 class=no-num id=property-index>Appendix A &mdash; Property index</h2>
30303030
&nbsp;&nbsp; <a href="#CSS3VAL"
30313031
rel=biblioentry>[CSS3VAL]<!--{{!CSS3VAL}}--></a>
30323032

3033+
<li> <dfn id=integer-def> <a
3034+
href="http://www.w3.org/TR/css3-values/#ltintegergt"> integer </a></dfn>
3035+
&nbsp;&nbsp; <a href="#CSS3VAL"
3036+
rel=biblioentry>[CSS3VAL]<!--{{!CSS3VAL}}--></a>
3037+
30333038
<li> <dfn id=non-negative-number-def> <a
30343039
href="http://www.w3.org/TR/css3-values/#non-negative">
30353040
non-negative-number </a></dfn> &nbsp;&nbsp; <a href="#CSS3VAL"
@@ -3090,6 +3095,8 @@ <h2 class=no-num id=index>Appendix B &mdash; Index</h2>
30903095
<li>identifier, <a href="#identifier-def"
30913096
title=identifier><strong>#</strong></a>
30923097

3098+
<li>integer, <a href="#integer-def" title=integer><strong>#</strong></a>
3099+
30933100
<li>list-style-image, <a href="#list-style-image-def"
30943101
title=list-style-image><strong>#</strong></a>
30953102

css3-speech/Overview.src.html

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,9 +1342,8 @@ <h3 id="voice-props-voice-family">The 'voice-family' property</h3>
13421342
<td>
13431343
<em>Value:</em>
13441344
</td>
1345-
<td> [[&lt;name&gt; | [&lt;age&gt;? &lt;gender&gt; &lt;non-negative number&gt;?]],]*
1346-
[&lt;name&gt; | [&lt;age&gt;? &lt;gender&gt; &lt;non-negative number&gt;?]] | preserve
1347-
</td>
1345+
<td> [[&lt;name&gt; | &lt;generic-voice&gt;],]* [&lt;name&gt; | &lt;generic-voice&gt;] |
1346+
preserve </td>
13481347
</tr>
13491348
<tr>
13501349
<td>
@@ -1386,7 +1385,9 @@ <h3 id="voice-props-voice-family">The 'voice-family' property</h3>
13861385
</table>
13871386
<p>The 'voice-family' property specifies a comma-separated, prioritized list of values that
13881387
designate speech synthesis voices (analogous to '<a href="#font-family-def"><code
1389-
class="property">font-family</code></a>' in visual style sheets).</p>
1388+
class="property">font-family</code></a>' in visual style sheets), where: </p>
1389+
<p>
1390+
<strong>&lt;generic-voice&gt;</strong> = [&lt;age&gt;? &lt;gender&gt; &lt;integer&gt;?] </p>
13901391
<p class="note"> Note that the functionality provided by this property is related to the <a
13911392
href="http://www.w3.org/TR/speech-synthesis11/#edef_voice"><code>voice</code> element</a>
13921393
from the SSML markup language [[!SSML]]. </p>
@@ -1413,33 +1414,32 @@ <h3 id="voice-props-voice-family">The 'voice-family' property</h3>
14131414
<strong>&lt;age&gt;</strong>
14141415
</dt>
14151416
<dd>
1416-
<p> Possible values are <a href="#non-negative-number-def">non-negative numbers</a>
1417-
restricted to positive integers (i.e. excluding zero), indicating the preferred age in
1418-
years (since birth) of the voice.</p>
1417+
<p> An <a href="#integer-def">integer</a> indicating the preferred age in years (since
1418+
birth) of the voice. Only positive integers (i.e. excluding zero) are allowed. </p>
14191419
</dd>
14201420
<dt>
14211421
<strong>&lt;gender&gt;</strong>
14221422
</dt>
14231423
<dd>
1424-
<p>Values are voice families. Possible values are 'male', 'female' and 'neutral'.</p>
1424+
<p> One of the keywords 'male', 'female', or 'neutral', specifying a male, female, or
1425+
neutral voice, respectively. </p>
14251426
</dd>
14261427
<dt>
1427-
<strong>&lt;non-negative number&gt;</strong>
1428+
<strong>&lt;integer&gt;</strong>
14281429
</dt>
14291430
<dd>
1430-
<p>Indicates a preferred variant (e.g. "the second male child voice"). Possible values are
1431-
<a href="#non-negative-number-def">non-negative numbers</a> restricted to integers, and
1432-
excluding zero (i.e. starting from 1). The value "1" refers to the first of all matching
1433-
voices. </p>
1431+
<p>An <a href="#integer-def">integer</a> indicating the preferred variant (e.g. "the second
1432+
male child voice"). Only positive integers (i.e. excluding zero) are allowed. The value
1433+
"1" refers to the first of all matching voices. </p>
14341434
</dd>
14351435
<dt>
14361436
<strong>preserve</strong>
14371437
</dt>
14381438
<dd>
14391439
<p>Indicates that the 'voice-family' value gets inherited and used regardless of any
14401440
potential language change within the content markup (see the section below about voice
1441-
selection and language handling). This property value behaves similarly to 'inherit' when
1442-
applied to the root content element (defaults to the user or user-agent stylesheet). </p>
1441+
selection and language handling). This value behaves as 'inherit' when applied to the root
1442+
element. </p>
14431443
<p class="note"> Note that descendants of the selected element automatically inherit the
14441444
'preserve' value, unless it is explicitly overridden by other 'voice-family' values (e.g.
14451445
name, gender, age). </p>
@@ -2208,6 +2208,10 @@ <h2 class="no-num" id="property-index">Appendix A &mdash; Property index</h2>
22082208
<dfn id="number-def">
22092209
<a href="http://www.w3.org/TR/css3-values/#ltnumbergt"> number </a></dfn> &nbsp;&nbsp;
22102210
[[!CSS3VAL]] </li>
2211+
<li>
2212+
<dfn id="integer-def">
2213+
<a href="http://www.w3.org/TR/css3-values/#ltintegergt"> integer </a></dfn> &nbsp;&nbsp;
2214+
[[!CSS3VAL]] </li>
22112215
<li>
22122216
<dfn id="non-negative-number-def">
22132217
<a href="http://www.w3.org/TR/css3-values/#non-negative"> non-negative-number </a></dfn>

0 commit comments

Comments
 (0)