[html5] r8596 - [e] (0) Reword the muted/volume logic. This shouldn't have a normative effect, b [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu May 1 14:44:33 PDT 2014


Author: ianh
Date: 2014-05-01 14:44:31 -0700 (Thu, 01 May 2014)
New Revision: 8596

Modified:
   complete.html
   index
   source
Log:
[e] (0) Reword the muted/volume logic. This shouldn't have a normative effect, but should be easier to read, and should make potential future changes easier to make.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25019
Affected topics: DOM APIs, Video Text Tracks, Video and Audio

Modified: complete.html
===================================================================
--- complete.html	2014-05-01 20:24:33 UTC (rev 8595)
+++ complete.html	2014-05-01 21:44:31 UTC (rev 8596)
@@ -7632,6 +7632,7 @@
    <code><a href=#the-textarea-element>textarea</a></code> <!-- in some browsers -->
   </p>
 
+<!--CLEANUP-->
   <p>The <a href=#supported-property-names>supported property names</a> consist of the non-empty values of all the <code title=attr-id><a href=#the-id-attribute>id</a></code> attributes of all the elements <a href=#represented-by-the-collection>represented by the
   collection</a>, and the non-empty values of all the <code title="">name</code> attributes of all the
   <a href=#all-named-elements>"all"-named elements</a> <a href=#represented-by-the-collection>represented by the collection</a>, in <a href=#tree-order>tree
@@ -27576,9 +27577,10 @@
   the <a href=#official-playback-position>official playback position</a> must be set to the <a href=#current-playback-position>current playback
   position</a>.</p> <!-- cross-ref is intentionally to the other term, to help find this -->
 
-  <p>When the <a href=#direction-of-playback>direction of playback</a> is backwards, any corresponding audio must be
-  muted. When the <a href=#effective-playback-rate>effective playback rate</a> is so low or so high that the user agent
-  cannot play audio usefully, the corresponding audio must also be muted. If the <a href=#effective-playback-rate>effective
+  <!--CLEANUP-->
+  <p>While the <a href=#direction-of-playback>direction of playback</a> is backwards, any corresponding audio must be
+  <a href=#concept-media-muted title=concept-media-muted>muted</a>. While the <a href=#effective-playback-rate>effective playback rate</a> is so low or so high that the user agent
+  cannot play audio usefully, the corresponding audio must also be <a href=#concept-media-muted title=concept-media-muted>muted</a>. If the <a href=#effective-playback-rate>effective
   playback rate</a> is not 1.0, the user agent may apply pitch adjustments to the audio as
   necessary to render it faithfully.</p>
 
@@ -30847,22 +30849,32 @@
 
   </dl><div class=impl>
 
-  <p>The <dfn id=dom-media-volume title=dom-media-volume><code>volume</code></dfn> attribute must return the playback
-  volume of any audio portions of the <a href=#media-element>media element</a>, in the range 0.0 (silent) to 1.0
-  (loudest). Initially, the volume should be 1.0, but user agents may remember the last set value
-  across sessions, on a per-site basis or otherwise, so the volume may start at other values. On
-  setting, if the new value is in the range 0.0 to 1.0 inclusive, the playback volume of any audio
-  portions of the <a href=#media-element>media element</a> must be set to the new value. If the new value is
+  <p>A <a href=#media-element>media element</a> has a <dfn id=concept-media-volume title=concept-media-volume>playback volume</dfn>, which is a fraction in the range 0.0 (silent) to 1.0 (loudest).
+  Initially, the volume should be 1.0, but user agents may remember the last set value across
+  sessions, on a per-site basis or otherwise, so the volume may start at other values.</p>
+
+  <!--CLEANUP-->
+  <p>The <dfn id=dom-media-volume title=dom-media-volume><code>volume</code></dfn> IDL attribute must return the <a href=#concept-media-volume title=concept-media-volume>playback
+  volume</a> of any audio portions of the <a href=#media-element>media element</a>. On
+  setting, if the new value is in the range 0.0 to 1.0 inclusive, the <a href=#media-element>media element</a>'s <a href=#concept-media-volume title=concept-media-volume>playback
+  volume</a> must be set to the new value. If the new value is
   outside the range 0.0 to 1.0 inclusive, then, on setting, an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception
   must be thrown instead.</p>
 
-  <p>The <dfn id=dom-media-muted title=dom-media-muted><code>muted</code></dfn> attribute must return true if the
-  audio output is muted and false otherwise. Initially, the audio output should not be muted
-  (false), but user agents may remember the last set value across sessions, on a per-site basis or
-  otherwise, so the muted state may start as muted (true). On setting, if the new value is true then
-  the audio output should be muted and if the new value is false it should be unmuted.</p>
+  <p>A <a href=#media-element>media element</a> can also be <dfn id=concept-media-muted title=concept-media-muted>muted</dfn>. If
+  anything is muting the element, then it is muted. (For example, when the <a href=#direction-of-playback>direction of
+  playback</a> is backwards, the element is muted.)</p>
 
-  <p>Whenever either of the values that would be returned by the <code title=dom-media-volume><a href=#dom-media-volume>volume</a></code> and <code title=dom-media-muted><a href=#dom-media-muted>muted</a></code> attributes
+  <!--CLEANUP-->
+
+  <p>The <dfn id=dom-media-muted title=dom-media-muted><code>muted</code></dfn> IDL attribute must return the value
+  to which it was last set. When a <a href=#media-element>media element</a> is created, if the element has a <code title=attr-media-muted><a href=#attr-media-muted>muted</a></code> content attribute specified, then the <code title=dom-media-muted><a href=#dom-media-muted>muted</a></code> IDL attribute should be set to true; otherwise, the user
+  agents may set the value to the user's preferred value (e.g. remembering the last set value across
+  sessions, on a per-site basis or otherwise). While the <code title=dom-media-muted><a href=#dom-media-muted>muted</a></code>
+  IDL attribute is set to true, the <a href=#media-element>media element</a> must be <a href=#concept-media-muted title=concept-media-muted>muted</a>.</p>
+
+  <!--CLEANUP-->
+  <p>Whenever either of the values that would be returned by the <code title=dom-media-volume><a href=#dom-media-volume>volume</a></code> and <code title=dom-media-muted><a href=#dom-media-muted>muted</a></code> IDL attributes
   change, the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named
   <code title=event-media-volumechange><a href=#event-media-volumechange>volumechange</a></code> at the <a href=#media-element>media element</a>.</p>
 
@@ -30872,18 +30884,21 @@
    then the element's <a href=#effective-media-volume>effective media volume</a> is the volume desired by the user. Abort
    these steps.</li>
 
-   <li><p>If the element's audio output is muted, the element's <a href=#effective-media-volume>effective media volume</a>
+   <!--CLEANUP-->
+   <li><p>If the element's audio output is <a href=#concept-media-muted title=concept-media-muted>muted</a>, the element's <a href=#effective-media-volume>effective media volume</a>
    is zero. Abort these steps.</li>
 
    <li><p>If the element has a <a href=#current-media-controller>current media controller</a> and that
    <code><a href=#mediacontroller>MediaController</a></code> object's <a href=#media-controller-mute-override>media controller mute override</a> is true, the
    element's <a href=#effective-media-volume>effective media volume</a> is zero. Abort these steps.</li>
 
-   <li><p>Let <var title="">volume</var> be the playback volume of the audio portions of the
+   <!--CLEANUP-->
+   <li><p>Let <var title="">volume</var> be the <a href=#concept-media-volume title=concept-media-volume>playback volume</a> of the audio portions of the
    <a href=#media-element>media element</a>, in range 0.0 (silent) to 1.0 (loudest).</li>
 
-   <li><p>If the element has a <a href=#current-media-controller>current media controller</a>, multiply <var title="">volume</var> by that <code><a href=#mediacontroller>MediaController</a></code> object's <a href=#media-controller-volume-multiplier>media controller volume
-   multiplier</a>.</li>
+   <li><p>If the element has a <a href=#current-media-controller>current media controller</a>, multiply <var title="">volume</var> by that <code><a href=#mediacontroller>MediaController</a></code> object's <a href=#media-controller-volume-multiplier>media controller
+   volume multiplier</a>. (The <a href=#media-controller-volume-multiplier>media controller volume multiplier</a> is in the range
+   0.0 to 1.0, so this can only reduce the value.)</li>
 
    <li><p>The element's <a href=#effective-media-volume>effective media volume</a> is <var title="">volume</var>,
    interpreted relative to the range 0.0 to 1.0, with 0.0 being silent, and 1.0 being the loudest
@@ -30893,16 +30908,14 @@
 
   </ol></div>
 
-  <p>The <dfn id=attr-media-muted title=attr-media-muted><code>muted</code></dfn> attribute on <a href=#media-element title="media
+  <!--CLEANUP-->
+  <p>The <dfn id=attr-media-muted title=attr-media-muted><code>muted</code></dfn> content attribute on <a href=#media-element title="media
   element">media elements</a> is a <a href=#boolean-attribute>boolean attribute</a> that controls the default state
   of the audio output of the <a href=#media-resource>media resource</a>, potentially overriding user
   preferences.</p>
 
   <div class=impl>
 
-  <p>When a <a href=#media-element>media element</a> is created, if it has a <code title=attr-media-muted><a href=#attr-media-muted>muted</a></code> attribute specified, the user agent must mute the
-  <a href=#media-element>media element</a>'s audio output, overriding any user preference.</p>
-
   <p>The <dfn id=dom-media-defaultmuted title=dom-media-defaultMuted><code>defaultMuted</code></dfn> IDL attribute must
   <a href=#reflect>reflect</a> the <code title=attr-media-muted><a href=#attr-media-muted>muted</a></code> content attribute.</p>
 

Modified: index
===================================================================
--- index	2014-05-01 20:24:33 UTC (rev 8595)
+++ index	2014-05-01 21:44:31 UTC (rev 8596)
@@ -7632,6 +7632,7 @@
    <code><a href=#the-textarea-element>textarea</a></code> <!-- in some browsers -->
   </p>
 
+<!--CLEANUP-->
   <p>The <a href=#supported-property-names>supported property names</a> consist of the non-empty values of all the <code title=attr-id><a href=#the-id-attribute>id</a></code> attributes of all the elements <a href=#represented-by-the-collection>represented by the
   collection</a>, and the non-empty values of all the <code title="">name</code> attributes of all the
   <a href=#all-named-elements>"all"-named elements</a> <a href=#represented-by-the-collection>represented by the collection</a>, in <a href=#tree-order>tree
@@ -27576,9 +27577,10 @@
   the <a href=#official-playback-position>official playback position</a> must be set to the <a href=#current-playback-position>current playback
   position</a>.</p> <!-- cross-ref is intentionally to the other term, to help find this -->
 
-  <p>When the <a href=#direction-of-playback>direction of playback</a> is backwards, any corresponding audio must be
-  muted. When the <a href=#effective-playback-rate>effective playback rate</a> is so low or so high that the user agent
-  cannot play audio usefully, the corresponding audio must also be muted. If the <a href=#effective-playback-rate>effective
+  <!--CLEANUP-->
+  <p>While the <a href=#direction-of-playback>direction of playback</a> is backwards, any corresponding audio must be
+  <a href=#concept-media-muted title=concept-media-muted>muted</a>. While the <a href=#effective-playback-rate>effective playback rate</a> is so low or so high that the user agent
+  cannot play audio usefully, the corresponding audio must also be <a href=#concept-media-muted title=concept-media-muted>muted</a>. If the <a href=#effective-playback-rate>effective
   playback rate</a> is not 1.0, the user agent may apply pitch adjustments to the audio as
   necessary to render it faithfully.</p>
 
@@ -30847,22 +30849,32 @@
 
   </dl><div class=impl>
 
-  <p>The <dfn id=dom-media-volume title=dom-media-volume><code>volume</code></dfn> attribute must return the playback
-  volume of any audio portions of the <a href=#media-element>media element</a>, in the range 0.0 (silent) to 1.0
-  (loudest). Initially, the volume should be 1.0, but user agents may remember the last set value
-  across sessions, on a per-site basis or otherwise, so the volume may start at other values. On
-  setting, if the new value is in the range 0.0 to 1.0 inclusive, the playback volume of any audio
-  portions of the <a href=#media-element>media element</a> must be set to the new value. If the new value is
+  <p>A <a href=#media-element>media element</a> has a <dfn id=concept-media-volume title=concept-media-volume>playback volume</dfn>, which is a fraction in the range 0.0 (silent) to 1.0 (loudest).
+  Initially, the volume should be 1.0, but user agents may remember the last set value across
+  sessions, on a per-site basis or otherwise, so the volume may start at other values.</p>
+
+  <!--CLEANUP-->
+  <p>The <dfn id=dom-media-volume title=dom-media-volume><code>volume</code></dfn> IDL attribute must return the <a href=#concept-media-volume title=concept-media-volume>playback
+  volume</a> of any audio portions of the <a href=#media-element>media element</a>. On
+  setting, if the new value is in the range 0.0 to 1.0 inclusive, the <a href=#media-element>media element</a>'s <a href=#concept-media-volume title=concept-media-volume>playback
+  volume</a> must be set to the new value. If the new value is
   outside the range 0.0 to 1.0 inclusive, then, on setting, an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception
   must be thrown instead.</p>
 
-  <p>The <dfn id=dom-media-muted title=dom-media-muted><code>muted</code></dfn> attribute must return true if the
-  audio output is muted and false otherwise. Initially, the audio output should not be muted
-  (false), but user agents may remember the last set value across sessions, on a per-site basis or
-  otherwise, so the muted state may start as muted (true). On setting, if the new value is true then
-  the audio output should be muted and if the new value is false it should be unmuted.</p>
+  <p>A <a href=#media-element>media element</a> can also be <dfn id=concept-media-muted title=concept-media-muted>muted</dfn>. If
+  anything is muting the element, then it is muted. (For example, when the <a href=#direction-of-playback>direction of
+  playback</a> is backwards, the element is muted.)</p>
 
-  <p>Whenever either of the values that would be returned by the <code title=dom-media-volume><a href=#dom-media-volume>volume</a></code> and <code title=dom-media-muted><a href=#dom-media-muted>muted</a></code> attributes
+  <!--CLEANUP-->
+
+  <p>The <dfn id=dom-media-muted title=dom-media-muted><code>muted</code></dfn> IDL attribute must return the value
+  to which it was last set. When a <a href=#media-element>media element</a> is created, if the element has a <code title=attr-media-muted><a href=#attr-media-muted>muted</a></code> content attribute specified, then the <code title=dom-media-muted><a href=#dom-media-muted>muted</a></code> IDL attribute should be set to true; otherwise, the user
+  agents may set the value to the user's preferred value (e.g. remembering the last set value across
+  sessions, on a per-site basis or otherwise). While the <code title=dom-media-muted><a href=#dom-media-muted>muted</a></code>
+  IDL attribute is set to true, the <a href=#media-element>media element</a> must be <a href=#concept-media-muted title=concept-media-muted>muted</a>.</p>
+
+  <!--CLEANUP-->
+  <p>Whenever either of the values that would be returned by the <code title=dom-media-volume><a href=#dom-media-volume>volume</a></code> and <code title=dom-media-muted><a href=#dom-media-muted>muted</a></code> IDL attributes
   change, the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named
   <code title=event-media-volumechange><a href=#event-media-volumechange>volumechange</a></code> at the <a href=#media-element>media element</a>.</p>
 
@@ -30872,18 +30884,21 @@
    then the element's <a href=#effective-media-volume>effective media volume</a> is the volume desired by the user. Abort
    these steps.</li>
 
-   <li><p>If the element's audio output is muted, the element's <a href=#effective-media-volume>effective media volume</a>
+   <!--CLEANUP-->
+   <li><p>If the element's audio output is <a href=#concept-media-muted title=concept-media-muted>muted</a>, the element's <a href=#effective-media-volume>effective media volume</a>
    is zero. Abort these steps.</li>
 
    <li><p>If the element has a <a href=#current-media-controller>current media controller</a> and that
    <code><a href=#mediacontroller>MediaController</a></code> object's <a href=#media-controller-mute-override>media controller mute override</a> is true, the
    element's <a href=#effective-media-volume>effective media volume</a> is zero. Abort these steps.</li>
 
-   <li><p>Let <var title="">volume</var> be the playback volume of the audio portions of the
+   <!--CLEANUP-->
+   <li><p>Let <var title="">volume</var> be the <a href=#concept-media-volume title=concept-media-volume>playback volume</a> of the audio portions of the
    <a href=#media-element>media element</a>, in range 0.0 (silent) to 1.0 (loudest).</li>
 
-   <li><p>If the element has a <a href=#current-media-controller>current media controller</a>, multiply <var title="">volume</var> by that <code><a href=#mediacontroller>MediaController</a></code> object's <a href=#media-controller-volume-multiplier>media controller volume
-   multiplier</a>.</li>
+   <li><p>If the element has a <a href=#current-media-controller>current media controller</a>, multiply <var title="">volume</var> by that <code><a href=#mediacontroller>MediaController</a></code> object's <a href=#media-controller-volume-multiplier>media controller
+   volume multiplier</a>. (The <a href=#media-controller-volume-multiplier>media controller volume multiplier</a> is in the range
+   0.0 to 1.0, so this can only reduce the value.)</li>
 
    <li><p>The element's <a href=#effective-media-volume>effective media volume</a> is <var title="">volume</var>,
    interpreted relative to the range 0.0 to 1.0, with 0.0 being silent, and 1.0 being the loudest
@@ -30893,16 +30908,14 @@
 
   </ol></div>
 
-  <p>The <dfn id=attr-media-muted title=attr-media-muted><code>muted</code></dfn> attribute on <a href=#media-element title="media
+  <!--CLEANUP-->
+  <p>The <dfn id=attr-media-muted title=attr-media-muted><code>muted</code></dfn> content attribute on <a href=#media-element title="media
   element">media elements</a> is a <a href=#boolean-attribute>boolean attribute</a> that controls the default state
   of the audio output of the <a href=#media-resource>media resource</a>, potentially overriding user
   preferences.</p>
 
   <div class=impl>
 
-  <p>When a <a href=#media-element>media element</a> is created, if it has a <code title=attr-media-muted><a href=#attr-media-muted>muted</a></code> attribute specified, the user agent must mute the
-  <a href=#media-element>media element</a>'s audio output, overriding any user preference.</p>
-
   <p>The <dfn id=dom-media-defaultmuted title=dom-media-defaultMuted><code>defaultMuted</code></dfn> IDL attribute must
   <a href=#reflect>reflect</a> the <code title=attr-media-muted><a href=#attr-media-muted>muted</a></code> content attribute.</p>
 

Modified: source
===================================================================
--- source	2014-05-01 20:24:33 UTC (rev 8595)
+++ source	2014-05-01 21:44:31 UTC (rev 8596)
@@ -7090,6 +7090,7 @@
    <code>textarea</code> <!-- in some browsers -->
   </p>
 
+<!--CLEANUP-->
   <p>The <span>supported property names</span> consist of the non-empty values of all the <code
   data-x="attr-id">id</code> attributes of all the elements <span>represented by the
   collection</span>, and the non-empty values of all the <code data-x="">name</code> attributes of all the
@@ -29471,9 +29472,10 @@
   the <span>official playback position</span> must be set to the <span>current playback
   position</span>.</p> <!-- cross-ref is intentionally to the other term, to help find this -->
 
-  <p>When the <span>direction of playback</span> is backwards, any corresponding audio must be
-  muted. When the <span>effective playback rate</span> is so low or so high that the user agent
-  cannot play audio usefully, the corresponding audio must also be muted. If the <span>effective
+  <!--CLEANUP-->
+  <p>While the <span>direction of playback</span> is backwards, any corresponding audio must be
+  <span data-x="concept-media-muted">muted</span>. While the <span>effective playback rate</span> is so low or so high that the user agent
+  cannot play audio usefully, the corresponding audio must also be <span data-x="concept-media-muted">muted</span>. If the <span>effective
   playback rate</span> is not 1.0, the user agent may apply pitch adjustments to the audio as
   necessary to render it faithfully.</p>
 
@@ -33233,23 +33235,36 @@
 
   <div class="impl">
 
-  <p>The <dfn data-x="dom-media-volume"><code>volume</code></dfn> attribute must return the playback
-  volume of any audio portions of the <span>media element</span>, in the range 0.0 (silent) to 1.0
-  (loudest). Initially, the volume should be 1.0, but user agents may remember the last set value
-  across sessions, on a per-site basis or otherwise, so the volume may start at other values. On
-  setting, if the new value is in the range 0.0 to 1.0 inclusive, the playback volume of any audio
-  portions of the <span>media element</span> must be set to the new value. If the new value is
+  <p>A <span>media element</span> has a <dfn data-x="concept-media-volume">playback volume</dfn>, which is a fraction in the range 0.0 (silent) to 1.0 (loudest).
+  Initially, the volume should be 1.0, but user agents may remember the last set value across
+  sessions, on a per-site basis or otherwise, so the volume may start at other values.</p>
+
+  <!--CLEANUP-->
+  <p>The <dfn data-x="dom-media-volume"><code>volume</code></dfn> IDL attribute must return the <span data-x="concept-media-volume">playback
+  volume</span> of any audio portions of the <span>media element</span>. On
+  setting, if the new value is in the range 0.0 to 1.0 inclusive, the <span>media element</span>'s <span data-x="concept-media-volume">playback
+  volume</span> must be set to the new value. If the new value is
   outside the range 0.0 to 1.0 inclusive, then, on setting, an <code>IndexSizeError</code> exception
   must be thrown instead.</p>
 
-  <p>The <dfn data-x="dom-media-muted"><code>muted</code></dfn> attribute must return true if the
-  audio output is muted and false otherwise. Initially, the audio output should not be muted
-  (false), but user agents may remember the last set value across sessions, on a per-site basis or
-  otherwise, so the muted state may start as muted (true). On setting, if the new value is true then
-  the audio output should be muted and if the new value is false it should be unmuted.</p>
+  <p>A <span>media element</span> can also be <dfn data-x="concept-media-muted">muted</dfn>. If
+  anything is muting the element, then it is muted. (For example, when the <span>direction of
+  playback</span> is backwards, the element is muted.)</p>
 
+  <!--CLEANUP-->
+
+  <p>The <dfn data-x="dom-media-muted"><code>muted</code></dfn> IDL attribute must return the value
+  to which it was last set. When a <span>media element</span> is created, if the element has a <code
+  data-x="attr-media-muted">muted</code> content attribute specified, then the <code
+  data-x="dom-media-muted">muted</code> IDL attribute should be set to true; otherwise, the user
+  agents may set the value to the user's preferred value (e.g. remembering the last set value across
+  sessions, on a per-site basis or otherwise). While the <code data-x="dom-media-muted">muted</code>
+  IDL attribute is set to true, the <span>media element</span> must be <span
+  data-x="concept-media-muted">muted</span>.</p>
+
+  <!--CLEANUP-->
   <p>Whenever either of the values that would be returned by the <code
-  data-x="dom-media-volume">volume</code> and <code data-x="dom-media-muted">muted</code> attributes
+  data-x="dom-media-volume">volume</code> and <code data-x="dom-media-muted">muted</code> IDL attributes
   change, the user agent must <span>queue a task</span> to <span>fire a simple event</span> named
   <code data-x="event-media-volumechange">volumechange</code> at the <span>media element</span>.</p>
 
@@ -33261,19 +33276,22 @@
    then the element's <span>effective media volume</span> is the volume desired by the user. Abort
    these steps.</p></li>
 
-   <li><p>If the element's audio output is muted, the element's <span>effective media volume</span>
+   <!--CLEANUP-->
+   <li><p>If the element's audio output is <span data-x="concept-media-muted">muted</span>, the element's <span>effective media volume</span>
    is zero. Abort these steps.</p></li>
 
    <li><p>If the element has a <span>current media controller</span> and that
    <code>MediaController</code> object's <span>media controller mute override</span> is true, the
    element's <span>effective media volume</span> is zero. Abort these steps.</p></li>
 
-   <li><p>Let <var data-x="">volume</var> be the playback volume of the audio portions of the
+   <!--CLEANUP-->
+   <li><p>Let <var data-x="">volume</var> be the <span data-x="concept-media-volume">playback volume</span> of the audio portions of the
    <span>media element</span>, in range 0.0 (silent) to 1.0 (loudest).</p></li>
 
    <li><p>If the element has a <span>current media controller</span>, multiply <var
-   data-x="">volume</var> by that <code>MediaController</code> object's <span>media controller volume
-   multiplier</span>.</p></li>
+   data-x="">volume</var> by that <code>MediaController</code> object's <span>media controller
+   volume multiplier</span>. (The <span>media controller volume multiplier</span> is in the range
+   0.0 to 1.0, so this can only reduce the value.)</p></li>
 
    <li><p>The element's <span>effective media volume</span> is <var data-x="">volume</var>,
    interpreted relative to the range 0.0 to 1.0, with 0.0 being silent, and 1.0 being the loudest
@@ -33285,17 +33303,14 @@
 
   </div>
 
-  <p>The <dfn data-x="attr-media-muted"><code>muted</code></dfn> attribute on <span data-x="media
+  <!--CLEANUP-->
+  <p>The <dfn data-x="attr-media-muted"><code>muted</code></dfn> content attribute on <span data-x="media
   element">media elements</span> is a <span>boolean attribute</span> that controls the default state
   of the audio output of the <span>media resource</span>, potentially overriding user
   preferences.</p>
 
   <div class="impl">
 
-  <p>When a <span>media element</span> is created, if it has a <code
-  data-x="attr-media-muted">muted</code> attribute specified, the user agent must mute the
-  <span>media element</span>'s audio output, overriding any user preference.</p>
-
   <p>The <dfn data-x="dom-media-defaultMuted"><code>defaultMuted</code></dfn> IDL attribute must
   <span>reflect</span> the <code data-x="attr-media-muted">muted</code> content attribute.</p>
 




More information about the Commit-Watchers mailing list