W3C home > Mailing lists > Public > public-css-commits@w3.org > April 2011

csswg/css3-speech Overview.html,1.34,1.35 Overview.src.html,1.35,1.36

From: Daniel Weck via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 28 Apr 2011 16:09:40 +0000
To: public-css-commits@w3.org
Message-Id: <E1QFTme-0008DT-Am@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-speech
In directory hutz:/tmp/cvs-serv30801

Modified Files:
	Overview.html Overview.src.html 
Log Message:
improved 'pause' collapsing and adjoining definitions. Added example for user-agent stlyesheet override of prosodic break strength.



Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-speech/Overview.html,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- Overview.html	28 Apr 2011 15:08:03 -0000	1.34
+++ Overview.html	28 Apr 2011 16:09:38 -0000	1.35
@@ -714,7 +714,7 @@
      the aural rendering. However, the pauses, cues, and rests of the
      ancestor element remain "deactivated" in the aural dimension, and
      therefore do not contribute to the <a href="#collapsing">collapsing of
-     pauses</a> or additive behavior of adjacent rests.</p>
+     pauses</a> or additive behavior of adjoining rests.</p>
     <!--
 Descendant elements do not get rendered either;
 this behavior cannot be overridden by setting the 'speakability' property on the descendants.
@@ -948,21 +948,20 @@
     rel=biblioentry>[CSS3VAL]<!--{{!CSS3VAL}}--></a>. Only positive values
     are allowed.
 
-   <dt><strong>none</strong>, <strong>x-weak</strong>, <strong>weak</strong>,
+   <dt> <strong>none</strong>
+
+   <dd> Equivalent to 0ms (no prosodic break in the speech output). This
+    value can be used to inhibit a prosodic break which the processor would
+    otherwise produce.
+
+   <dt> <strong>x-weak</strong>, <strong>weak</strong>,
     <strong>medium</strong>, <strong>strong</strong>, and
     <strong>x-strong</strong>
 
-   <dd>These values can be used to indicate the prosodic strength of the
-    break in speech output. The synthesis processor may insert a pause as
-    part of its implementation of the prosodic break. The value "none"
-    indicates that no prosodic break boundary should be output, and can be
-    used to inhibit a prosodic break which the processor would otherwise
-    produce. The other values indicate monotonically non-decreasing
-    (conceptually increasing) break strength between elements. "x-weak" and
-    "x-strong" are mnemonics for "extra weak" and "extra strong",
-    respectively. The stronger boundaries are typically accompanied by
-    pauses. The breaks between paragraphs are typically much stronger than
-    the breaks between words within a sentence.
+   <dd> Expresses the pause by the strength of the prosodic break in speech
+    output. The exact time is implementation-dependent. The values indicate
+    monotonically non-decreasing (conceptually increasing) break strength
+    between elements.
   </dl>
 
   <table class=propdef summary="name: syntax">
@@ -975,10 +974,10 @@
     <tr>
      <td><em>Value:</em>
 
-     <td>[ &lt;&lsquo;<a href="#pause-before"><code
+     <td>&lt;&lsquo;<a href="#pause-before"><code
       class=property>pause-before</code></a>&rsquo;&gt; || &lt;&lsquo;<a
       href="#pause-after"><code
-      class=property>pause-after</code></a>&rsquo;&gt; ] | inherit
+      class=property>pause-after</code></a>&rsquo;&gt;
 
     <tr>
      <td><em>Initial:</em>
@@ -1031,17 +1030,33 @@
 </pre>
   </div>
 
+  <p> The default strengths of prosodic breaks for specific elements are
+   defined by the user-agent stylesheet, and can be overridden by authored
+   styles, as demonstrated by the example below.
+
+  <div class=example>
+   <p>Example:</p>
+
+   <pre>
+p { pause: none } /* pause-before: none; pause-after: none */
+</pre>
+  </div>
+
+  <p class=note> Note that stronger content boundaries are typically
+   accompanied by pauses. For example, the breaks between paragraphs are
+   typically much more substantial than the breaks between words within a
+   sentence.
+
   <h3 id=collapsing><span class=secno>6.1. </span>Collapsing pauses</h3>
 
   <p>The pause defines the minimum distance of the aural "box" to the aural
-   "boxes" before and after it. Adjacent pauses should be merged by selecting
-   the strongest named break or the longest absolute time interval. Thus
-   "strong" is selected when comparing "strong" and "weak", while "1s" is
-   selected when comparing "1s" and "250ms". We say that such pauses <dfn
-   id=collapse>collapse</dfn>. A combination of a named break and time
-   duration is treated additively.
+   "boxes" before and after it. Adjoining pauses are merged by selecting the
+   strongest named break and the longest absolute time interval. Thus
+   "strong" is selected when comparing "strong" and "weak", "1s" is selected
+   when comparing "1s" and "250ms", and "strong" and "250ms" take effect
+   additively when comparing "strong" and "250ms".
 
-  <p>The following pauses collapse:
+  <p>The following pauses are adjoining:
 
   <ol>
    <li>The &lsquo;<a href="#pause-after"><code
@@ -1070,41 +1085,19 @@
     href="#pause-after"><code class=property>pause-after</code></a>&rsquo; of
     an aural "box", if the the "box" has a &lsquo;<a
     href="#voice-duration"><code
-    class=property>voice-duration</code></a>&rsquo; of "0ms", no &lsquo;<a
+    class=property>voice-duration</code></a>&rsquo; of "0ms" and no &lsquo;<a
     href="#rest-before"><code class=property>rest-before</code></a>&rsquo; or
     &lsquo;<a href="#rest-after"><code
-    class=property>rest-after</code></a>&rsquo;, no &lsquo;<a
+    class=property>rest-after</code></a>&rsquo; and no &lsquo;<a
     href="#cue-before"><code class=property>cue-before</code></a>&rsquo; or
     &lsquo;<a href="#cue-after"><code
-    class=property>cue-after</code></a>&rsquo; and no content.
+    class=property>cue-after</code></a>&rsquo;, or if the the "box" has no
+    rendered content at all (see &lsquo;<a href="#speak"><code
+    class=property>speak</code></a>&rsquo;).
   </ol>
 
-  <p>The &lsquo;<a href="#pause-after"><code
-   class=property>pause-after</code></a>&rsquo; of an element is always
-   adjoining to the &lsquo;<a href="#pause-before"><code
-   class=property>pause-before</code></a>&rsquo; of its next sibling.
-
-  <p>The &lsquo;<a href="#pause-before"><code
-   class=property>pause-before</code></a>&rsquo; an element is adjoining to
-   its first child's &lsquo;<a href="#pause-before"><code
-   class=property>pause-before</code></a>&rsquo;, if the element has no
-   &lsquo;<a href="#cue-before"><code
-   class=property>cue-before</code></a>&rsquo; nor &lsquo;<a
-   href="#rest-before"><code class=property>rest-before</code></a>&rsquo;.
-
-  <p>The &lsquo;<a href="#pause-after"><code
-   class=property>pause-after</code></a>&rsquo; of an element is adjoining to
-   its last child's &lsquo;<a href="#pause-after"><code
-   class=property>pause-after</code></a>&rsquo;, if the element has no
-   &lsquo;<a href="#rest-after"><code
-   class=property>rest-after</code></a>&rsquo; or &lsquo;<a
-   href="#cue-after"><code class=property>cue-after</code></a>&rsquo;.
-
-  <p>An element's own pauses are adjoining if the &lsquo;<a
-   href="#voice-duration"><code
-   class=property>voice-duration</code></a>&rsquo; property is zero, and it
-   has no rest, and it does not contain any content, and all of its
-   children's pauses (if any) are adjoining.
+  <p>A collapsed pause is considered adjoining to another pause if any of its
+   component pauses is adjoining to that pause.
 
   <p class=note> Note that &lsquo;<a href="#pause"><code
    class=property>pause</code></a>&rsquo; has been moved from between the
@@ -1224,27 +1217,28 @@
     rel=biblioentry>[CSS3VAL]<!--{{!CSS3VAL}}--></a>. Only positive values
     are allowed.
 
-   <dt><strong>none</strong>, <strong>x-weak</strong>, <strong>weak</strong>,
+   <dt> <strong>none</strong>
+
+   <dd> Equivalent to 0ms (no prosodic break in the speech output). This
+    value can be used to inhibit a prosodic break which the processor would
+    otherwise produce.
+
+   <dt> <strong>x-weak</strong>, <strong>weak</strong>,
     <strong>medium</strong>, <strong>strong</strong>, and
     <strong>x-strong</strong>
 
-   <dd>These values can be used to indicate the prosodic strength of the
-    break in speech output. The synthesis processor may insert a rest as part
-    of its implementation of the prosodic break. The value "none" indicates
-    that no prosodic break boundary should be output, and can be used to
-    inhibit a prosodic break which the processor would otherwise produce. The
-    other values indicate monotonically non-decreasing (conceptually
-    increasing) break strength between words. The stronger boundaries are
-    typically accompanied by rests. "x-weak" and "x-strong" are mnemonics for
-    "extra weak" and "extra strong", respectively.
+   <dd> Expresses the rest by the strength of the prosodic break in speech
+    output. The exact time is implementation-dependent. The values indicate
+    monotonically non-decreasing (conceptually increasing) break strength
+    between elements.
   </dl>
 
   <p>As opposed to <a href="#pause-props">pause properties</a>, the rest is
    inserted between the element's content and any &lsquo;<a
    href="#cue-before"><code class=property>cue-before</code></a>&rsquo; or
    &lsquo;<a href="#cue-after"><code
-   class=property>cue-after</code></a>&rsquo; content. Adjacent rests are
-   treated additively.
+   class=property>cue-after</code></a>&rsquo; content. Adjoining rests are
+   treated additively, and do not collapse.
 
   <table class=propdef summary="name: syntax">
    <tbody>
@@ -1256,10 +1250,10 @@
     <tr>
      <td><em>Value:</em>
 
-     <td>[ &lt;&lsquo;<a href="#rest-before"><code
+     <td>&lt;&lsquo;<a href="#rest-before"><code
       class=property>rest-before</code></a>&rsquo;&gt; || &lt;&lsquo;<a
       href="#rest-after"><code
-      class=property>rest-after</code></a>&rsquo;&gt; ] | inherit
+      class=property>rest-after</code></a>&rsquo;&gt;
 
     <tr>
      <td><em>Initial:</em>
@@ -1411,9 +1405,9 @@
    <dt><strong>&lt;uri&gt;</strong>
 
    <dd>The URI must designate an auditory icon resource. If the URI resolves
-    to something other than an audio file, such as an image, the resource
-    should be ignored and the property treated as if it had the value
-    &lsquo;<code class=property>none</code>&rsquo;.
+    to something other than an audio file, such as an image, the resource is
+    ignored and the property treated as if it had the value &lsquo;<code
+    class=property>none</code>&rsquo;.
 
    <dt><strong>none</strong>
 
@@ -1480,10 +1474,9 @@
     <tr>
      <td><em>Value:</em>
 
-     <td>[ &lt;&lsquo;<a href="#cue-before"><code
+     <td>&lt;&lsquo;<a href="#cue-before"><code
       class=property>cue-before</code></a>&rsquo;&gt; || &lt;&lsquo;<a
       href="#cue-after"><code class=property>cue-after</code></a>&rsquo;&gt;
-      ] | inherit
 
     <tr>
      <td><em>Initial:</em>
@@ -1674,7 +1667,7 @@
 </tr>
 <tr>
 <td><em>Value:</em></td>
-<td>[ &lt;'mark-before'&gt; || &lt;'mark-after'&gt; ]</td>
+<td>&lt;'mark-before'&gt; || &lt;'mark-after'&gt;</td>
 </tr>
 <tr>
 <td><em>Initial:</em></td>
@@ -2613,8 +2606,7 @@
     <tr valign=baseline>
      <td><a class=property href="#cue">cue</a>
 
-     <td>[ &lt;&lsquo;cue-before&rsquo;&gt; ||
-      &lt;&lsquo;cue-after&rsquo;&gt; ] | inherit
+     <td>&lt;&lsquo;cue-before&rsquo;&gt; || &lt;&lsquo;cue-after&rsquo;&gt;
 
      <td>N/A (see individual properties)
 
@@ -2659,8 +2651,8 @@
     <tr valign=baseline>
      <td><a class=property href="#pause">pause</a>
 
-     <td>[ &lt;&lsquo;pause-before&rsquo;&gt; ||
-      &lt;&lsquo;pause-after&rsquo;&gt; ] | inherit
+     <td>&lt;&lsquo;pause-before&rsquo;&gt; ||
+      &lt;&lsquo;pause-after&rsquo;&gt;
 
      <td>N/A (see individual properties)
 
@@ -2722,8 +2714,8 @@
     <tr valign=baseline>
      <td><a class=property href="#rest">rest</a>
 
-     <td>[ &lt;&lsquo;rest-before&rsquo;&gt; ||
-      &lt;&lsquo;rest-after&rsquo;&gt; ] | inherit
+     <td>&lt;&lsquo;rest-before&rsquo;&gt; ||
+      &lt;&lsquo;rest-after&rsquo;&gt;
 
      <td>N/A (see individual properties)
 
@@ -2992,9 +2984,6 @@
 
    <li>border, <a href="#border-def" title=border><strong>#</strong></a>
 
-   <li>collapse, <a href="#collapse" title=collapse><strong>6.1.</strong></a>
-    
-
    <li>content, <a href="#content-def" title=content><strong>#</strong></a>
 
    <li>cue, <a href="#cue" title=cue><strong>8.</strong></a>
@@ -3320,7 +3309,7 @@
   <ul>
    <li>Adjusted the [initial] value for shorthand properties, to be
     consistent with other CSS specifications (i.e. "see individual
-    properties")
+    properties"), and removed the erroneous "inherit" value.
 
    <li>Fixed the [initial] values for &lsquo;<a href="#pause"><code
     class=property>pause</code></a>&rsquo; and &lsquo;<a href="#rest"><code
@@ -3347,6 +3336,8 @@
    <li>Cleaned-up the list of module dependencies, and removed redundant
     "module dependencies" section.
 
+   <li>Improved the pause collapsing prose, removed redundant paragraphs.
+
    <li>Fixed typos and made other minor edits.
   </ul>
   <!-- For reference only, changes in previous draft: -->

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-speech/Overview.src.html,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- Overview.src.html	28 Apr 2011 15:08:03 -0000	1.35
+++ Overview.src.html	28 Apr 2011 16:09:38 -0000	1.36
@@ -524,7 +524,7 @@
 "deactivated" in the aural dimension,
 and therefore do not contribute to the
 <a href="#collapsing">collapsing of pauses</a>
-or additive behavior of adjacent rests.
+or additive behavior of adjoining rests.
 </p>
 <!--
 Descendant elements do not get rendered either;
@@ -729,7 +729,15 @@
 as per the syntax of <a href="#time-def">time</a> values defined in [[!CSS3VAL]].
 Only positive values are allowed.</dd>
 
-<dt><strong>none</strong>,
+<dt>
+<strong>none</strong>
+</dt>
+<dd>
+Equivalent to 0ms (no prosodic break in the speech output).
+This value can be used to inhibit a prosodic break which the processor would otherwise produce.
+</dd>
+
+<dt>
 <strong>x-weak</strong>,
 <strong>weak</strong>,
 <strong>medium</strong>,
@@ -737,16 +745,13 @@
 <strong>x-strong</strong>
 </dt>
 
-<dd>These values can be used to indicate the prosodic strength of
-the break in speech output. The synthesis processor may insert a
-pause as part of its implementation of the prosodic break. The value
-"none" indicates that no prosodic break boundary should be output,
-and can be used to inhibit a prosodic break which the processor
-would otherwise produce. The other values indicate monotonically
+<dd>
+Expresses the pause by the strength of the prosodic break in speech output.
+The exact time is implementation-dependent.
+The values indicate monotonically
 non-decreasing (conceptually increasing) break strength between
-elements. "x-weak" and "x-strong" are mnemonics for "extra weak" and "extra
-strong", respectively. The stronger boundaries are typically accompanied by pauses.
-The breaks between paragraphs are typically much stronger than the breaks between words within a sentence.</dd>
+elements.
+</dd>
 </dl>
 
 <table class="propdef" summary="name: syntax">
@@ -757,8 +762,7 @@
 </tr>
 <tr>
 <td><em>Value:</em></td>
-<td>[ &lt;'pause-before'&gt; || &lt;'pause-after'&gt; ] |
-inherit</td>
+<td>&lt;'pause-before'&gt; || &lt;'pause-after'&gt;</td>
 </tr>
 <tr>
 <td><em>Initial:</em></td>
@@ -802,42 +806,54 @@
 </pre>
 </div>
 
+<p>
+The default strengths of prosodic breaks for specific elements are defined by
+the user-agent stylesheet, and can be overridden by authored styles,
+as demonstrated by the example below.
+</p>
+
+<div class="example">
+<p>Example:</p>
+<pre>
+p { pause: none } /* pause-before: none; pause-after: none */
+</pre>
+</div>
+
+<p class="note">
+Note that stronger content boundaries are typically accompanied by pauses.
+For example, the breaks between paragraphs are typically much more substantial
+than the breaks between words within a sentence.
+</p>
+
 <h3 id="collapsing">Collapsing pauses</h3>
 
 <p>The pause defines the minimum distance of the aural "box" to the
-aural "boxes" before and after it. Adjacent pauses should be merged
-by selecting the strongest named break or the longest absolute
-time interval. Thus "strong" is selected when comparing "strong"
-and "weak", while "1s" is selected when comparing "1s" and "250ms".
-We say that such pauses <dfn id="collapse">collapse</dfn>.
-A combination of a named break and time duration is treated
-additively.</p>
+aural "boxes" before and after it.
+Adjoining pauses are merged
+by selecting the strongest named break and
+the longest absolute time interval. Thus "strong" is selected when
+comparing "strong" and "weak", "1s" is selected when comparing "1s"
+and "250ms", and "strong" and "250ms" take effect additively when
+comparing "strong" and "250ms".</p>
 
-<p>The following pauses collapse:</p>
+<p>The following pauses are adjoining:</p>
 
 <ol>
 <li>The 'pause-after' of an aural "box" and the 'pause-after' of its last child,
 provided the former has no 'rest-after' and no 'cue-after'.</li>
+
 <li>The 'pause-before' of an aural "box" and the 'pause-before' of its first child,
 provided the former has no 'rest-before' and no 'cue-before'.</li>
+
 <li>The 'pause-after' of an aural "box" and the 'pause-before' of its next sibling.</li>
+
 <li>The 'pause-before' and 'pause-after' of an aural "box", if the the "box" has a
-'voice-duration' of "0ms", no 'rest-before' or 'rest-after', no
-'cue-before' or 'cue-after' and no content.</li>
+'voice-duration' of "0ms" and no 'rest-before' or 'rest-after' and no
+'cue-before' or 'cue-after', or if the the "box" has no rendered content at all (see 'speak').</li>
 </ol>
 
-<p>The 'pause-after' of an element is always adjoining to the 'pause-before' of its
-next sibling.</p>
-
-<p>The 'pause-before' an element is adjoining to its first child's 'pause-before',
-if the element has no 'cue-before' nor 'rest-before'.</p>
-
-<p>The 'pause-after' of an element is adjoining to its last child's 'pause-after',
-if the element has no 'rest-after' or 'cue-after'.</p>
-
-<p>An element's own pauses are adjoining if the 'voice-duration' property
-is zero, and it has no rest, and it does not contain any content,
-and all of its children's pauses (if any) are adjoining.</p>
+<p>A collapsed pause is considered adjoining to another pause
+if any of its component pauses is adjoining to that pause.</p>
 
 <p class="note">
 Note that 'pause' has been moved from between the element's contents
@@ -941,7 +957,15 @@
 as per the syntax of <a href="#time-def">time</a> values defined in [[!CSS3VAL]].
 Only positive values are allowed.</dd>
 
-<dt><strong>none</strong>,
+<dt>
+<strong>none</strong>
+</dt>
+<dd>
+Equivalent to 0ms (no prosodic break in the speech output).
+This value can be used to inhibit a prosodic break which the processor would otherwise produce.
+</dd>
+
+<dt>
 <strong>x-weak</strong>,
 <strong>weak</strong>,
 <strong>medium</strong>,
@@ -949,21 +973,18 @@
 <strong>x-strong</strong>
 </dt>
 
-<dd>These values can be used to indicate the prosodic strength of
-the break in speech output. The synthesis processor may insert a
-rest as part of its implementation of the prosodic break. The value
-"none" indicates that no prosodic break boundary should be output,
-and can be used to inhibit a prosodic break which the processor
-would otherwise produce. The other values indicate monotonically
-non-decreasing (conceptually increasing) break strength between words.
-The stronger boundaries are typically accompanied by rests. "x-weak"
-and "x-strong" are mnemonics for "extra weak" and "extra strong",
-respectively.</dd>
+<dd>
+Expresses the rest by the strength of the prosodic break in speech output.
+The exact time is implementation-dependent.
+The values indicate monotonically
+non-decreasing (conceptually increasing) break strength between
+elements.
+</dd>
 </dl>
 
 <p>As opposed to <a href="#pause-props">pause properties</a>, the
 rest is inserted between the element's content and any 'cue-before'
-or 'cue-after' content. Adjacent rests are treated additively.</p>
+or 'cue-after' content. Adjoining rests are treated additively, and do not collapse.</p>
 
 <table class="propdef" summary="name: syntax">
 <tbody>
@@ -973,7 +994,7 @@
 </tr>
 <tr>
 <td><em>Value:</em></td>
-<td>[ &lt;'rest-before'&gt; || &lt;'rest-after'&gt; ] | inherit</td>
+<td>&lt;'rest-before'&gt; || &lt;'rest-after'&gt;</td>
 </tr>
 <tr>
 <td><em>Initial:</em></td>
@@ -1103,7 +1124,7 @@
 
 <dd>The URI must designate an auditory icon resource. If the URI
 resolves to something other than an audio file, such as an image,
-the resource should be ignored and the property treated as if it
+the resource is ignored and the property treated as if it
 had the value 'none'.</dd>
 
 <dt><strong>none</strong></dt>
@@ -1170,7 +1191,7 @@
 </tr>
 <tr>
 <td><em>Value:</em></td>
-<td>[ &lt;'cue-before'&gt; || &lt;'cue-after'&gt; ] | inherit</td>
+<td>&lt;'cue-before'&gt; || &lt;'cue-after'&gt;</td>
 </tr>
 <tr>
 <td><em>Initial:</em></td>
@@ -1353,7 +1374,7 @@
 </tr>
 <tr>
 <td><em>Value:</em></td>
-<td>[ &lt;'mark-before'&gt; || &lt;'mark-after'&gt; ]</td>
+<td>&lt;'mark-before'&gt; || &lt;'mark-after'&gt;</td>
 </tr>
 <tr>
 <td><em>Initial:</em></td>
@@ -2498,7 +2519,7 @@
 </p>
 
 <ul>
-<li>Adjusted the [initial] value for shorthand properties, to be consistent with other CSS specifications (i.e. "see individual properties")</li>
+<li>Adjusted the [initial] value for shorthand properties, to be consistent with other CSS specifications (i.e. "see individual properties"), and removed the erroneous "inherit" value.</li>
 <li>Fixed the [initial] values for 'pause' and 'rest', which should be zero (were "implementation-dependent").</li>
 <li>Corrected the [initial] values for 'voice-pitch-range' and 'voice-pitch' to "medium".</li>
 <li>Added an "auto" value to 'voice-duration', which is the [initial] property value as well.</li>
@@ -2506,6 +2527,7 @@
 <li>Added a new section to define the relationship of this specification with CSS2.1.</li>
 <li>Added the missing "Computed value" line to each property definition.</li>
 <li>Cleaned-up the list of module dependencies, and removed redundant "module dependencies" section.</li>
+<li>Improved the pause collapsing prose, removed redundant paragraphs.</li>
 <li>Fixed typos and made other minor edits.</li>
 </ul>
 
Received on Thursday, 28 April 2011 16:09:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 28 April 2011 16:09:43 GMT