[html5] r3486 - [] (0) Make <applet>, <object>, and <embed> not instantiate if they have <video> [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jul 28 16:54:25 PDT 2009


Author: ianh
Date: 2009-07-28 16:54:24 -0700 (Tue, 28 Jul 2009)
New Revision: 3486

Modified:
   index
   source
Log:
[] (0) Make <applet>, <object>, and <embed> not instantiate if they have <video> or <audio> ancestors.

Modified: index
===================================================================
--- index	2009-07-28 23:33:45 UTC (rev 3485)
+++ index	2009-07-28 23:54:24 UTC (rev 3486)
@@ -19060,7 +19060,8 @@
 
   <p>When the element is created with neither a <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute nor a <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute, and when attributes
   are removed such that neither attribute is present on the element
-  anymore, and when the element has an ancestor <code><a href=#the-object-element>object</a></code>
+  anymore, and when the element has a <a href=#media-element>media element</a>
+  ancestor, and when the element has an ancestor <code><a href=#the-object-element>object</a></code>
   element that is <em>not</em> showing its <a href=#fallback-content>fallback
   content</a>, any plugins instantiated for the element must be
   removed, and the <code><a href=#the-embed-element>embed</a></code> element represents nothing.</p>
@@ -19087,17 +19088,16 @@
   <p>When the element is created with a <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute, and whenever the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute is subsequently set, and
   whenever the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute is
   set or removed while the element has a <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute, if the element is not
-  in a sandboxed browsing context and not a descendant of an
-  <code><a href=#the-object-element>object</a></code> element that is not showing its <a href=#fallback-content>fallback
-  content</a>, the user agent must <a href=#resolve-a-url title="resolve a
-  url">resolve</a> the value of the attribute, relative to the
-  element, and if that is successful, should <a href=#fetch>fetch</a> the
-  resulting <a href=#absolute-url>absolute URL</a>. The <a href=#concept-task title=concept-task>task</a> that is <a href=#queue-a-task title="queue a
-  task">queued</a> by the <a href=#networking-task-source>networking task source</a> once
-  the resource has been <a href=#fetch title=fetch>fetched</a> must find
-  and instantiate an appropriate <a href=#plugin>plugin</a> based on the
-  <a href=#concept-embed-type title=concept-embed-type>content's type</a>, and hand
-  that <a href=#plugin>plugin</a> the content of the resource, replacing any
+  in a sandboxed browsing context, not a descendant of a <a href=#media-element>media
+  element</a>, and not a descendant of an <code><a href=#the-object-element>object</a></code>
+  element that is not showing its <a href=#fallback-content>fallback content</a>, the
+  user agent must <a href=#resolve-a-url title="resolve a url">resolve</a> the value
+  of the attribute, relative to the element, and if that is
+  successful, should <a href=#fetch>fetch</a> the resulting <a href=#absolute-url>absolute
+  URL</a>. The <a href=#concept-task title=concept-task>task</a> that is <a href=#queue-a-task title="queue a task">queued</a> by the <a href=#networking-task-source>networking task
+  source</a> once the resource has been <a href=#fetch title=fetch>fetched</a> must find and instantiate an
+  appropriate <a href=#plugin>plugin</a> based on the <a href=#concept-embed-type title=concept-embed-type>content's type</a>, and hand that
+  <a href=#plugin>plugin</a> the content of the resource, replacing any
   previously instantiated plugin for the element. <!-- Note that this
   doesn't happen when the base URL changes. --></p>
 
@@ -19282,9 +19282,10 @@
 
   <ol><li>
 
-    <p>If the element has an ancestor <code><a href=#the-object-element>object</a></code> element that
-    is <em>not</em> showing its <a href=#fallback-content>fallback content</a>, then
-    jump to the last step in the overall set of steps (fallback).</p>
+    <p>If the element has an ancestor <a href=#media-element>media element</a>, or
+    has an ancestor <code><a href=#the-object-element>object</a></code> element that is <em>not</em>
+    showing its <a href=#fallback-content>fallback content</a>, then jump to the last
+    step in the overall set of steps (fallback).</p>
 
    </li>
 
@@ -70783,6 +70784,7 @@
   browsing context flag</a> is set on the <a href=#browsing-context>browsing
   context</a> for which the <code><a href=#the-applet-element>applet</a></code> element's document
   is the <a href=#active-document>active document</a>, and when the element has an
+  ancestor <a href=#media-element>media element</a>, and when the element has an
   ancestor <code><a href=#the-object-element>object</a></code> element that is <em>not</em> showing
   its <a href=#fallback-content>fallback content</a>, the element must be ignored (it
   represents nothing).</p>

Modified: source
===================================================================
--- source	2009-07-28 23:33:45 UTC (rev 3485)
+++ source	2009-07-28 23:54:24 UTC (rev 3486)
@@ -20372,7 +20372,8 @@
   title="attr-embed-src">src</code> attribute nor a <code
   title="attr-embed-type">type</code> attribute, and when attributes
   are removed such that neither attribute is present on the element
-  anymore, and when the element has an ancestor <code>object</code>
+  anymore, and when the element has a <span>media element</span>
+  ancestor, and when the element has an ancestor <code>object</code>
   element that is <em>not</em> showing its <span>fallback
   content</span>, any plugins instantiated for the element must be
   removed, and the <code>embed</code> element represents nothing.</p>
@@ -20402,18 +20403,19 @@
   whenever the <code title="attr-embed-type">type</code> attribute is
   set or removed while the element has a <code
   title="attr-embed-src">src</code> attribute, if the element is not
-  in a sandboxed browsing context and not a descendant of an
-  <code>object</code> element that is not showing its <span>fallback
-  content</span>, the user agent must <span title="resolve a
-  url">resolve</span> the value of the attribute, relative to the
-  element, and if that is successful, should <span>fetch</span> the
-  resulting <span>absolute URL</span>. The <span
-  title="concept-task">task</span> that is <span title="queue a
-  task">queued</span> by the <span>networking task source</span> once
-  the resource has been <span title="fetch">fetched</span> must find
-  and instantiate an appropriate <span>plugin</span> based on the
-  <span title="concept-embed-type">content's type</span>, and hand
-  that <span>plugin</span> the content of the resource, replacing any
+  in a sandboxed browsing context, not a descendant of a <span>media
+  element</span>, and not a descendant of an <code>object</code>
+  element that is not showing its <span>fallback content</span>, the
+  user agent must <span title="resolve a url">resolve</span> the value
+  of the attribute, relative to the element, and if that is
+  successful, should <span>fetch</span> the resulting <span>absolute
+  URL</span>. The <span title="concept-task">task</span> that is <span
+  title="queue a task">queued</span> by the <span>networking task
+  source</span> once the resource has been <span
+  title="fetch">fetched</span> must find and instantiate an
+  appropriate <span>plugin</span> based on the <span
+  title="concept-embed-type">content's type</span>, and hand that
+  <span>plugin</span> the content of the resource, replacing any
   previously instantiated plugin for the element. <!-- Note that this
   doesn't happen when the base URL changes. --></p>
 
@@ -20621,9 +20623,10 @@
 
    <li>
 
-    <p>If the element has an ancestor <code>object</code> element that
-    is <em>not</em> showing its <span>fallback content</span>, then
-    jump to the last step in the overall set of steps (fallback).</p>
+    <p>If the element has an ancestor <span>media element</span>, or
+    has an ancestor <code>object</code> element that is <em>not</em>
+    showing its <span>fallback content</span>, then jump to the last
+    step in the overall set of steps (fallback).</p>
 
    </li>
 
@@ -83600,6 +83603,7 @@
   browsing context flag</span> is set on the <span>browsing
   context</span> for which the <code>applet</code> element's document
   is the <span>active document</span>, and when the element has an
+  ancestor <span>media element</span>, and when the element has an
   ancestor <code>object</code> element that is <em>not</em> showing
   its <span>fallback content</span>, the element must be ignored (it
   represents nothing).</p>




More information about the Commit-Watchers mailing list