spec/Overview.html 1.1597 2425 <embed>: it turns out that unknown types

<embed>: it turns out that unknown types cause the UAs to defer to the
extension. what a mess. (whatwg r2425)

When the sandboxed plugins browsing context flag is set on the browsing context for which the embed element's document is the active document, then the user agent must render the embed element in a manner that conveys that the plugin was disabled. The user agent may offer the user the option to override the sandbox and instantiate the plugin anyway; if the user invokes such an option, the user agent must act as if the sandboxed plugins browsing context flag was not set for the purposes of this element.
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1597.html#sandboxPluginEmbed
type of the content
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1597.html#concept-embed-type

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1596&r2=1.1597&f=h
http://html5.org/tools/web-apps-tracker?from=2424&to=2425

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1596
retrieving revision 1.1597
diff -u -d -r1.1596 -r1.1597
--- Overview.html 20 Nov 2008 13:28:17 -0000 1.1596
+++ Overview.html 20 Nov 2008 13:39:48 -0000 1.1597
@@ -12944,8 +12944,9 @@
   <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>Fetching the resource must <a href=#delay-the-load-event>delay the <code title=event-load>load</code> event</a>.<p>The <dfn id=concept-embed-type title=concept-embed-type>type of the content</dfn>
-  being embedded is defined as follows:<ol><li><p>If the element has a <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute, then the value of
-   the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute is the
+  being embedded is defined as follows:<ol><li><p>If the element has a <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute, and that attribute's
+   value is a type that a <a href=#plugin>plugin</a> supports, then the value
+   of the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute is the
    <span>content's type</span>.</li>
 
    <li>
@@ -12973,6 +12974,8 @@
    <li><p>Otherwise, the content has no type and there can be no
    appropriate <a href=#plugin>plugin</a> for it.</li>
 
+   <!-- This algorithm is a monument to bad design. Go legacy! -->
+
   </ol><p>Whether the resource is fetched successfully or not (e.g. whether
   the response code was a 2xx code or equivalent) must be ignored when
   determining the resource's type and when handing the resource to the

Received on Thursday, 20 November 2008 13:44:03 UTC