Skip to content

Commit

Permalink
[e] (0) Make this sentence about <embed> less convoluted.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25144
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8602 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 3, 2014
1 parent d256d7e commit 7978bc1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 22 deletions.
20 changes: 12 additions & 8 deletions complete.html
Expand Up @@ -290,7 +290,7 @@
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 2 May 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 3 May 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
Expand Down Expand Up @@ -23542,14 +23542,18 @@ <h4 id=the-embed-element><span class=secno>4.7.3 </span>The <dfn><code>embed</co

<div class=impl>

<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 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 <a href=#plugin>plugin</a> instantiated for
the element must be removed, and the <code><a href=#the-embed-element>embed</a></code> element then represents nothing.</p>
<p>While any of the following conditions are occurring, any <a href=#plugin>plugin</a> instantiated for
the element must be removed, and the <code><a href=#the-embed-element>embed</a></code> element <a href=#represents>represents</a>
nothing:</p>

<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
<ul class=brief><li><p>The element has 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.</li>

<li><p>The element has a <a href=#media-element>media element</a> ancestor.</li>

<li><p>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>.</li>

</ul><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> 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>
Expand Down
20 changes: 12 additions & 8 deletions index
Expand Up @@ -290,7 +290,7 @@
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 2 May 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 3 May 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
Expand Down Expand Up @@ -23542,14 +23542,18 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>

<div class=impl>

<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 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 <a href=#plugin>plugin</a> instantiated for
the element must be removed, and the <code><a href=#the-embed-element>embed</a></code> element then represents nothing.</p>
<p>While any of the following conditions are occurring, any <a href=#plugin>plugin</a> instantiated for
the element must be removed, and the <code><a href=#the-embed-element>embed</a></code> element <a href=#represents>represents</a>
nothing:</p>

<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
<ul class=brief><li><p>The element has 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.</li>

<li><p>The element has a <a href=#media-element>media element</a> ancestor.</li>

<li><p>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>.</li>

</ul><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> 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>
Expand Down
21 changes: 15 additions & 6 deletions source
Expand Up @@ -24807,12 +24807,21 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>

<div class="impl">

<p>When the element is created with neither a <code data-x="attr-embed-src">src</code> attribute
nor a <code data-x="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 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 <span>plugin</span> instantiated for
the element must be removed, and the <code>embed</code> element then represents nothing.</p>
<p>While any of the following conditions are occurring, any <span>plugin</span> instantiated for
the element must be removed, and the <code>embed</code> element <span>represents</span>
nothing:</p>

<ul class="brief">

<li><p>The element has neither a <code data-x="attr-embed-src">src</code> attribute nor a <code
data-x="attr-embed-type">type</code> attribute.</p></li>

<li><p>The element has a <span>media element</span> ancestor.</p></li>

<li><p>The element has an ancestor <code>object</code> element that is <em>not</em> showing its
<span>fallback content</span>.</p></li>

</ul>

<p>An <code>embed</code> element is said to be <dfn data-x="concept-embed-active">potentially
active</dfn> when the following conditions are all met simultaneously:</p>
Expand Down

0 comments on commit 7978bc1

Please sign in to comment.