Skip to content

Commit

Permalink
fixing multiline argumentdef issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hoch committed Sep 27, 2024
1 parent 9c87cc8 commit f630a6b
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4263,18 +4263,8 @@ Methods</h4>
the original timeline would have had at time \(t_c\).
</div>

A {{RangeError}} is only thrown for negative cancelTime values for
cancelAndHoldAtTime and cancelScheduledValues.

<pre class=argumentdef for="AudioParam/cancelAndHoldAtTime()">
cancelTime: The time after which any previously scheduled parameter
changes will be cancelled. It is a time in the same time coordinate
system as the {{AudioContext}}'s {{BaseAudioContext/currentTime}}
attribute. <span class="synchronous">A {{RangeError}} exception
MUST be thrown if <code>cancelTime</code> is negative.
If {{AudioParam/cancelAndHoldAtTime()/cancelTime}} is less than
{{BaseAudioContext/currentTime}}, it is clamped to
{{BaseAudioContext/currentTime}}.
cancelTime: The time after which any previously scheduled parameter changes will be cancelled. It is a time in the same time coordinate system as the {{AudioContext}}'s {{BaseAudioContext/currentTime}} attribute. <span class="synchronous">A {{RangeError}} exception MUST be thrown if <code>cancelTime</code> is negative. If {{AudioParam/cancelAndHoldAtTime()/cancelTime}} is less than {{BaseAudioContext/currentTime}}, it is clamped to {{BaseAudioContext/currentTime}}.
</pre>

<div>
Expand All @@ -4301,13 +4291,7 @@ Methods</h4>
removed from the timeline.

<pre class=argumentdef for="AudioParam/cancelScheduledValues()">
cancelTime: The time after which any previously scheduled parameter
changes will be cancelled. It is a time in the same time coordinate
system as the {{AudioContext}}'s {{BaseAudioContext/currentTime}}
attribute. <span class="synchronous">A {{RangeError}} exception
MUST be thrown if <code>cancelTime</code> is negative.</span> If
<code>cancelTime</code> is less than {{BaseAudioContext/currentTime}},
it is clamped to {{BaseAudioContext/currentTime}}.
cancelTime: The time after which any previously scheduled parameter changes will be cancelled. It is a time in the same time coordinate system as the {{AudioContext}}'s {{BaseAudioContext/currentTime}} attribute. <span class="synchronous">A {{RangeError}} exception MUST be thrown if <code>cancelTime</code> is negative.</span> If <code>cancelTime</code> is less than {{BaseAudioContext/currentTime}}, it is clamped to {{BaseAudioContext/currentTime}}.
</pre>

<div>
Expand Down

0 comments on commit f630a6b

Please sign in to comment.