Skip to content

Commit af325cf

Browse files
committed
fixed examples.
1 parent 97ac653 commit af325cf

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

css3-speech/Overview.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,11 +2227,13 @@ <h3 id=voice-props-voice-pitch><span class=secno>10.3. </span>The &lsquo;<a
22272227
<pre>
22282228
h1 { voice-pitch: 250Hz; } /* positive offset relative to the inherited absolute frequency */
22292229
h1 { voice-pitch: +250Hz; } /* identical to the line above */
2230-
h2 { voice-pitch: +30Hz absolute; } /* not an increment! */
2230+
h2 { voice-pitch: +30Hz absolute; } /* not an increment */
22312231
h2 { voice-pitch: absolute 30Hz; } /* identical to the line above */
22322232
h3 { voice-pitch: -20Hz; } /* negative offset (decrement) relative to the inherited absolute frequency */
2233-
h4 { voice-pitch: -20Hz absolute; } /* Illegal syntax ! ("absolute" keyword not allowed with negative frequency) */
2234-
h4 { voice-pitch: -3.5st; } /* Semitones are always relative, no need for the keyword. */
2233+
h4 { voice-pitch: -20Hz absolute; } /* illegal syntax ! ("absolute" keyword not allowed with negative frequency) */
2234+
h5 { voice-pitch: -3.5st; } /* semitones, negative offset */
2235+
h6 { voice-pitch: 25%; } /* this means "add a quarter of the inherited value, to the inherited value" */
2236+
h6 { voice-pitch: +25%; } /* identical to the line above */
22352237
</pre>
22362238
</div>
22372239

css3-speech/Overview.src.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,11 +1770,13 @@ <h3 id="voice-props-voice-pitch">The 'voice-pitch' property</h3>
17701770
<pre>
17711771
h1 { voice-pitch: 250Hz; } /* positive offset relative to the inherited absolute frequency */
17721772
h1 { voice-pitch: +250Hz; } /* identical to the line above */
1773-
h2 { voice-pitch: +30Hz absolute; } /* not an increment! */
1773+
h2 { voice-pitch: +30Hz absolute; } /* not an increment */
17741774
h2 { voice-pitch: absolute 30Hz; } /* identical to the line above */
17751775
h3 { voice-pitch: -20Hz; } /* negative offset (decrement) relative to the inherited absolute frequency */
1776-
h4 { voice-pitch: -20Hz absolute; } /* Illegal syntax ! ("absolute" keyword not allowed with negative frequency) */
1777-
h4 { voice-pitch: -3.5st; } /* Semitones are always relative, no need for the keyword. */
1776+
h4 { voice-pitch: -20Hz absolute; } /* illegal syntax ! ("absolute" keyword not allowed with negative frequency) */
1777+
h5 { voice-pitch: -3.5st; } /* semitones, negative offset */
1778+
h6 { voice-pitch: 25%; } /* this means "add a quarter of the inherited value, to the inherited value" */
1779+
h6 { voice-pitch: +25%; } /* identical to the line above */
17781780
</pre>
17791781
</div>
17801782
<h3 id="voice-props-voice-pitch-range">The 'voice-pitch-range' property</h3>

0 commit comments

Comments
 (0)