Skip to content

Commit

Permalink
align onoverconstrained event handler text with other handler text
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Burnett committed Oct 14, 2015
1 parent 2299190 commit ea1cc1c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions getusermedia.html
Expand Up @@ -3770,13 +3770,17 @@ <h2>Interface Definition</h2>
<dt>attribute EventHandler onoverconstrained</dt>

<dd>
This event handler, of type <code><a>overconstrained</a></code>, is
executed when the User Agent is no longer able to satisfy the
<var>requiredConstraints</var> from the currently valid Constraints.
<p>

<p>When executed, the event handler is passed an
<code>OverconstrainedErrorEvent</code> as parameter, which
The event type of this event handler is <code><a>overconstrained</a></code>.
<p>When the User Agent is no longer able to satisfy the
<var>requiredConstraints</var> from the currently valid
Constraints, the User Agent MUST queue a task that fires
an <code>OverconstrainedErrorEvent</code>, initialized
as described in the following paragraph, at the constrainable object.
The event firing task MAY also be used to update the
constrainable object as a result of the overconstrained
situation.</p>

<p>The <code>OverconstrainedErrorEvent</code>
references an
<code><a>OverconstrainedError</a></code> whose
<code>constraint</code> attribute is set to one of the
Expand Down

0 comments on commit ea1cc1c

Please sign in to comment.