hixie: Make <applet>, <object>, and <embed> not instantiate if they have <video> or <audio> ancestors. (whatwg r3486)

hixie: Make <applet>, <object>, and <embed> not instantiate if they have
<video> or <audio> ancestors. (whatwg r3486)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2684&r2=1.2685&f=h
http://html5.org/tools/web-apps-tracker?from=3485&to=3486

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2684
retrieving revision 1.2685
diff -u -d -r1.2684 -r1.2685
--- Overview.html 28 Jul 2009 21:55:07 -0000 1.2684
+++ Overview.html 28 Jul 2009 23:54:30 -0000 1.2685
@@ -16567,7 +16567,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>
@@ -16594,17 +16595,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>
 
@@ -16764,9 +16764,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>
 
@@ -64562,6 +64563,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>

Received on Tuesday, 28 July 2009 23:55:38 UTC