[html5] r2929 - [giow] (2) Define that <embed> and <applet> elements in <object> fallback do not [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Mar 30 18:48:07 PDT 2009
Author: ianh
Date: 2009-03-30 18:48:06 -0700 (Mon, 30 Mar 2009)
New Revision: 2929
Modified:
index
source
Log:
[giow] (2) Define that <embed> and <applet> elements in <object> fallback do not instantiate plugins. (bug 6434)
Modified: index
===================================================================
--- index 2009-03-31 01:28:30 UTC (rev 2928)
+++ index 2009-03-31 01:48:06 UTC (rev 2929)
@@ -9,7 +9,7 @@
.applies th > * { display: block; white-space: nowrap; }
#updatesStatus { display: none; }
#updatesStatus.relevant { display: block; position: fixed; right: 1em; top: 1em; padding: 0.5em; font: bold small sans-serif; min-width: 25em; width: 30%; max-width: 40em; height: auto; border: ridge 4px gray; background: #EEEEEE; color: black; }
- #configUI { position: absolute; top: 10em; right: 1em; width: 11em; font-size: small; text-align: center; }
+ #configUI { position: absolute; z-index: 20; top: 10em; right: 1em; width: 11em; font-size: small; text-align: center; }
#configUI p { padding: 0.3em; background: #EEEEEE; color: black; border: inset thin; }
#configUI input[type=button] { display: block; margin: auto; }
@media print { #configUI { display: none; } }
@@ -18220,8 +18220,10 @@
<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, any plugins instantiated for the element must be removed,
- and the <code><a href=#the-embed-element>embed</a></code> element represents nothing.</p>
+ anymore, 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>
<p id=sandboxPluginEmbed>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
@@ -18245,10 +18247,13 @@
<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, user agents 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>, 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
+ 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>, 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>
@@ -62235,11 +62240,13 @@
is obsoleted so that all extension frameworks (Java, .NET, Flash,
etc) are handled in a consistent manner.</p>
- <p id=sandboxPluginApplet>If 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>, then the element must be ignored (it represents
- nothing).</p>
+ <p id=sandboxPluginApplet>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
+ 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>
<p>Otherwise, <span class=XXX>define how the element works,
if supported</span>.</p>
Modified: source
===================================================================
--- source 2009-03-31 01:28:30 UTC (rev 2928)
+++ source 2009-03-31 01:48:06 UTC (rev 2929)
@@ -19578,8 +19578,10 @@
title="attr-embed-src">src</code> attribute nor a <code
title="attr-embed-type">type</code> attribute, and when attributes
are removed such that neither attribute is present on the element
- anymore, any plugins instantiated for the element must be removed,
- and the <code>embed</code> element represents nothing.</p>
+ anymore, and when the element has an ancestor <code>object</code>
+ element that is <em>not</em> showing its <span>fallback
+ content</span>, any plugins instantiated for the element must be
+ removed, and the <code>embed</code> element represents nothing.</p>
<p id="sandboxPluginEmbed">When the <span>sandboxed plugins browsing
context flag</span> is set on the <span>browsing context</span> for
@@ -19606,11 +19608,13 @@
whenever the <code title="attr-embed-type">type</code> attribute is
set or removed while the element has a <code
title="attr-embed-src">src</code> attribute, if the element is not
- in a sandboxed browsing context, user agents must <span
- title="resolve a url">resolve</span> the value of the attribute,
- relative to the element, and if that is successful, should
- <span>fetch</span> the resulting <span>absolute URL</span>, find and
- instantiate an appropriate <span>plugin</span> based on the <span
+ in a sandboxed browsing context and not a descendant of an
+ <code>object</code> element that is not showing its <span>fallback
+ content</span>, the user agent must <span title="resolve a
+ url">resolve</span> the value of the attribute, relative to the
+ element, and if that is successful, should <span>fetch</span> the
+ resulting <span>absolute URL</span>, find and instantiate an
+ appropriate <span>plugin</span> based on the <span
title="concept-embed-type">content's type</span>, and hand that
<span>plugin</span> the content of the resource, replacing any
previously instantiated plugin for the element. <!-- Note that this
@@ -72996,11 +73000,13 @@
is obsoleted so that all extension frameworks (Java, .NET, Flash,
etc) are handled in a consistent manner.</p>
- <p id="sandboxPluginApplet">If 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>, then the element must be ignored (it represents
- nothing).</p>
+ <p id="sandboxPluginApplet">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
+ ancestor <code>object</code> element that is <em>not</em> showing
+ its <span>fallback content</span>, the element must be ignored (it
+ represents nothing).</p>
<p>Otherwise, <span class="XXX">define how the element works,
if supported</span>.</p>
More information about the Commit-Watchers
mailing list