[html5] r7119 - [giow] (2) Fix <embed> to match reality (Firefox in particular) more closely. Af [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jun 5 14:12:08 PDT 2012


Author: ianh
Date: 2012-06-05 14:12:06 -0700 (Tue, 05 Jun 2012)
New Revision: 7119

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Fix <embed> to match reality (Firefox in particular) more closely.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-06-05 20:28:01 UTC (rev 7118)
+++ complete.html	2012-06-05 21:12:06 UTC (rev 7119)
@@ -26266,13 +26266,13 @@
   <p>An <code><a href=#the-embed-element>embed</a></code> element is said to be <dfn id=concept-embed-active title=concept-embed-active>potentially active</dfn> when the
   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>
+  <ul class=brief><li>The element is <a href=#in-a-document title="in a document">in a <code>Document</code></a> or was <a href=#in-a-document title="in a document">in a <code>Document</code></a> the last time the <a href=#event-loop>event loop</a> reached step 1.</li>
    <li>The element's <code><a href=#document>Document</a></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's <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute is either absent or its value is the empty string.</li>
    <li>The element is not a descendant of a <a href=#media-element>media element</a>.</li>
    <li>The element is 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>.</li>
-   <li>The element is <a href=#being-rendered>being rendered</a>.</li>
+   <li>The element is <a href=#being-rendered>being rendered</a>, or was <a href=#being-rendered>being rendered</a> the last time the <a href=#event-loop>event loop</a> reached step 1.</li>
   </ul><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was not <a href=#concept-embed-active title=concept-embed-active>potentially active</a> becomes <a href=#concept-embed-active title=concept-embed-active>potentially active</a>, and whenever
   a <a href=#concept-embed-active title=concept-embed-active>potentially active</a>
   <code><a href=#the-embed-element>embed</a></code> element's <code title=attr-embed-type><a href=#attr-embed-type>src</a></code> attribute is set, changed, or
@@ -26345,10 +26345,6 @@
   convey the danger of overriding the sandbox to the user if an option
   to do so is provided.</p>
 
-  <p class=note>The <code><a href=#the-embed-element>embed</a></code> element is unaffected by the
-  CSS 'display' property. The selected plugin is instantiated even if
-  the element is hidden with a 'display:none' CSS style.</p>
-
   <p>The <dfn id=concept-embed-type title=concept-embed-type>type of the content</dfn>
   being embedded is defined as follows:</p>
 

Modified: index
===================================================================
--- index	2012-06-05 20:28:01 UTC (rev 7118)
+++ index	2012-06-05 21:12:06 UTC (rev 7119)
@@ -26266,13 +26266,13 @@
   <p>An <code><a href=#the-embed-element>embed</a></code> element is said to be <dfn id=concept-embed-active title=concept-embed-active>potentially active</dfn> when the
   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>
+  <ul class=brief><li>The element is <a href=#in-a-document title="in a document">in a <code>Document</code></a> or was <a href=#in-a-document title="in a document">in a <code>Document</code></a> the last time the <a href=#event-loop>event loop</a> reached step 1.</li>
    <li>The element's <code><a href=#document>Document</a></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's <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute is either absent or its value is the empty string.</li>
    <li>The element is not a descendant of a <a href=#media-element>media element</a>.</li>
    <li>The element is 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>.</li>
-   <li>The element is <a href=#being-rendered>being rendered</a>.</li>
+   <li>The element is <a href=#being-rendered>being rendered</a>, or was <a href=#being-rendered>being rendered</a> the last time the <a href=#event-loop>event loop</a> reached step 1.</li>
   </ul><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was not <a href=#concept-embed-active title=concept-embed-active>potentially active</a> becomes <a href=#concept-embed-active title=concept-embed-active>potentially active</a>, and whenever
   a <a href=#concept-embed-active title=concept-embed-active>potentially active</a>
   <code><a href=#the-embed-element>embed</a></code> element's <code title=attr-embed-type><a href=#attr-embed-type>src</a></code> attribute is set, changed, or
@@ -26345,10 +26345,6 @@
   convey the danger of overriding the sandbox to the user if an option
   to do so is provided.</p>
 
-  <p class=note>The <code><a href=#the-embed-element>embed</a></code> element is unaffected by the
-  CSS 'display' property. The selected plugin is instantiated even if
-  the element is hidden with a 'display:none' CSS style.</p>
-
   <p>The <dfn id=concept-embed-type title=concept-embed-type>type of the content</dfn>
   being embedded is defined as follows:</p>
 

Modified: source
===================================================================
--- source	2012-06-05 20:28:01 UTC (rev 7118)
+++ source	2012-06-05 21:12:06 UTC (rev 7119)
@@ -28277,13 +28277,13 @@
   following conditions are all met simultaneously:</p>
 
   <ul class="brief">
-   <li>The element is <span title="in a document">in a <code>Document</code></span>.</li>
+   <li>The element is <span title="in a document">in a <code>Document</code></span> or was <span title="in a document">in a <code>Document</code></span> the last time the <span>event loop</span> reached step 1.</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's <code title="attr-embed-src">src</code> attribute is either absent or its value is the empty string.</li>
    <li>The element is not a descendant of a <span>media element</span>.</li>
    <li>The element is not a descendant of an <code>object</code> element that is not showing its <span>fallback content</span>.</li>
-   <li>The element is <span>being rendered</span>.</li>
+   <li>The element is <span>being rendered</span>, or was <span>being rendered</span> the last time the <span>event loop</span> reached step 1.</li>
   </ul>
 
   <p>Whenever an <code>embed</code> element that was not <span
@@ -28373,10 +28373,6 @@
   convey the danger of overriding the sandbox to the user if an option
   to do so is provided.</p>
 
-  <p class="note">The <code>embed</code> element is unaffected by the
-  CSS 'display' property. The selected plugin is instantiated even if
-  the element is hidden with a 'display:none' CSS style.</p>
-
   <p>The <dfn title="concept-embed-type">type of the content</dfn>
   being embedded is defined as follows:</p>
 




More information about the Commit-Watchers mailing list