Skip to content
Permalink
Browse files
[giow] (2) Fix <embed> to match reality (Firefox in particular) more …
…closely.

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7119 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 5, 2012
1 parent 6b7b158 commit b0f8278f14930f70ae3fd5d17861c690d592db76
Showing with 6 additions and 18 deletions.
  1. +2 −6 complete.html
  2. +2 −6 index
  3. +2 −6 source
@@ -26266,13 +26266,13 @@ <h4 id=the-embed-element><span class=secno>4.8.3 </span>The <dfn><code>embed</co
<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 @@ <h4 id=the-embed-element><span class=secno>4.8.3 </span>The <dfn><code>embed</co
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>

8 index
@@ -26266,13 +26266,13 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<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 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
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>

8 source
@@ -28277,13 +28277,13 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
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 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
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>

0 comments on commit b0f8278

Please sign in to comment.