[html5] r4271 - [giow] (1) <embed>, <object>, and <applet> only work when their document is full [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Oct 22 05:23:39 PDT 2009


Author: ianh
Date: 2009-10-22 05:23:35 -0700 (Thu, 22 Oct 2009)
New Revision: 4271

Modified:
   complete.html
   index
   source
Log:
[giow] (1) <embed>, <object>, and <applet> only work when their document is fully active.

Modified: complete.html
===================================================================
--- complete.html	2009-10-22 10:58:48 UTC (rev 4270)
+++ complete.html	2009-10-22 12:23:35 UTC (rev 4271)
@@ -20796,6 +20796,7 @@
   following conditions are all met simultaneously:</p>
 
   <ul class=brief><li>The element is <a href=#in-a-document title="in a document">in a <code>Document</code></a>.</li>
+   <li>The element's <code>Document</code> is <a href=#fully-active>fully active</a>.</li>
    <li>The element has either a <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute set or a <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute set (or both).</li>
    <li>The element is not in a sandboxed browsing context.</li>
    <li>The element is not a descendant of a <a href=#media-element>media element</a>.</li>
@@ -21047,10 +21048,12 @@
 
   <p>When the element is created, and subsequently whenever the
   element is <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted
-  into a document</a>, <a href=#insert-an-element-into-a-document title="insert an element into a
-  document">removed from a document</a>; and whenever an ancestor
-  <code><a href=#the-object-element>object</a></code> element changes to or from showing its
-  <a href=#fallback-content>fallback content</a>; and whenever the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is set,
+  into a document</a> or <a href=#remove-an-element-from-a-document title="remove an element from a
+  document">removed from a document</a>; and whenever the element's
+  <code>Document</code> changes whether it is <a href=#fully-active>fully
+  active</a>; and whenever an ancestor <code><a href=#the-object-element>object</a></code> element
+  changes to or from showing its <a href=#fallback-content>fallback content</a>; and
+  whenever the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is set,
   changed, or removed; and, when its <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is not present,
   whenever its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute is
   set, changed, or removed; and, when neither its <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute nor its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute are present, whenever
@@ -21065,8 +21068,9 @@
     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>, or if the element is
     not <a href=#in-a-document title="in a document">in a <code>Document</code></a>,
-    then jump to the last step in the overall set of steps
-    (fallback).</p>
+    or if the element's <code>Document</code> is not <a href=#fully-active>fully
+    active</a>, then jump to the last step in the overall set of
+    steps (fallback).</p>
 
    </li>
 
@@ -82173,7 +82177,9 @@
   obsoleted so that all extension frameworks (Java, .NET, Flash, etc)
   are handled in a consistent manner.</p>
 
-  <p id=sandboxPluginApplet>When the <a href=#sandboxed-plugins-browsing-context-flag>sandboxed plugins
+  <p id=sandboxPluginApplet>When the element is not <a href=#in-a-document>in a
+  <code>Document</code></a>, and when the element's document is not
+  <a href=#fully-active>fully active</a>, and when the <a href=#sandboxed-plugins-browsing-context-flag>sandboxed plugins
   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

Modified: index
===================================================================
--- index	2009-10-22 10:58:48 UTC (rev 4270)
+++ index	2009-10-22 12:23:35 UTC (rev 4271)
@@ -20626,6 +20626,7 @@
   following conditions are all met simultaneously:</p>
 
   <ul class=brief><li>The element is <a href=#in-a-document title="in a document">in a <code>Document</code></a>.</li>
+   <li>The element's <code>Document</code> is <a href=#fully-active>fully active</a>.</li>
    <li>The element has either a <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute set or a <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute set (or both).</li>
    <li>The element is not in a sandboxed browsing context.</li>
    <li>The element is not a descendant of a <a href=#media-element>media element</a>.</li>
@@ -20877,10 +20878,12 @@
 
   <p>When the element is created, and subsequently whenever the
   element is <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted
-  into a document</a>, <a href=#insert-an-element-into-a-document title="insert an element into a
-  document">removed from a document</a>; and whenever an ancestor
-  <code><a href=#the-object-element>object</a></code> element changes to or from showing its
-  <a href=#fallback-content>fallback content</a>; and whenever the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is set,
+  into a document</a> or <a href=#remove-an-element-from-a-document title="remove an element from a
+  document">removed from a document</a>; and whenever the element's
+  <code>Document</code> changes whether it is <a href=#fully-active>fully
+  active</a>; and whenever an ancestor <code><a href=#the-object-element>object</a></code> element
+  changes to or from showing its <a href=#fallback-content>fallback content</a>; and
+  whenever the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is set,
   changed, or removed; and, when its <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is not present,
   whenever its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute is
   set, changed, or removed; and, when neither its <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute nor its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute are present, whenever
@@ -20895,8 +20898,9 @@
     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>, or if the element is
     not <a href=#in-a-document title="in a document">in a <code>Document</code></a>,
-    then jump to the last step in the overall set of steps
-    (fallback).</p>
+    or if the element's <code>Document</code> is not <a href=#fully-active>fully
+    active</a>, then jump to the last step in the overall set of
+    steps (fallback).</p>
 
    </li>
 
@@ -73230,7 +73234,9 @@
   obsoleted so that all extension frameworks (Java, .NET, Flash, etc)
   are handled in a consistent manner.</p>
 
-  <p id=sandboxPluginApplet>When the <a href=#sandboxed-plugins-browsing-context-flag>sandboxed plugins
+  <p id=sandboxPluginApplet>When the element is not <a href=#in-a-document>in a
+  <code>Document</code></a>, and when the element's document is not
+  <a href=#fully-active>fully active</a>, and when the <a href=#sandboxed-plugins-browsing-context-flag>sandboxed plugins
   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

Modified: source
===================================================================
--- source	2009-10-22 10:58:48 UTC (rev 4270)
+++ source	2009-10-22 12:23:35 UTC (rev 4271)
@@ -22101,6 +22101,7 @@
 
   <ul class="brief">
    <li>The element is <span title="in a document">in a <code>Document</code></span>.</li>
+   <li>The element's <code>Document</code> is <span>fully active</span>.</li>
    <li>The element has either a <code title="attr-embed-src">src</code> attribute set or a <code title="attr-embed-type">type</code> attribute set (or both).</li>
    <li>The element is not in a sandboxed browsing context.</li>
    <li>The element is not a descendant of a <span>media element</span>.</li>
@@ -22382,10 +22383,12 @@
 
   <p>When the element is created, and subsequently whenever the
   element is <span title="insert an element into a document">inserted
-  into a document</span>, <span title="insert an element into a
-  document">removed from a document</span>; and whenever an ancestor
-  <code>object</code> element changes to or from showing its
-  <span>fallback content</span>; and whenever the element's <code
+  into a document</span> or <span title="remove an element from a
+  document">removed from a document</span>; and whenever the element's
+  <code>Document</code> changes whether it is <span>fully
+  active</span>; and whenever an ancestor <code>object</code> element
+  changes to or from showing its <span>fallback content</span>; and
+  whenever the element's <code
   title="attr-object-classid">classid</code> attribute is set,
   changed, or removed; and, when its <code
   title="attr-object-classid">classid</code> attribute is not present,
@@ -22406,8 +22409,9 @@
     has an ancestor <code>object</code> element that is <em>not</em>
     showing its <span>fallback content</span>, or if the element is
     not <span title="in a document">in a <code>Document</code></span>,
-    then jump to the last step in the overall set of steps
-    (fallback).</p>
+    or if the element's <code>Document</code> is not <span>fully
+    active</span>, then jump to the last step in the overall set of
+    steps (fallback).</p>
 
    </li>
 
@@ -90135,7 +90139,9 @@
   obsoleted so that all extension frameworks (Java, .NET, Flash, etc)
   are handled in a consistent manner.</p>
 
-  <p id="sandboxPluginApplet">When the <span>sandboxed plugins
+  <p id="sandboxPluginApplet">When the element is not <span>in a
+  <code>Document</code></span>, and when the element's document is not
+  <span>fully active</span>, and when the <span>sandboxed plugins
   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




More information about the Commit-Watchers mailing list