html5/spec Overview.html,1.1596,1.1597

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv2778

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

Index: Overview.html
===================================================================
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:40:01 UTC