[html5] r2425 - [] (0) <embed>: it turns out that unknown types cause the UAs to defer to the ex [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Nov 20 05:39:45 PST 2008
Author: ianh
Date: 2008-11-20 05:39:44 -0800 (Thu, 20 Nov 2008)
New Revision: 2425
Modified:
index
source
Log:
[] (0) <embed>: it turns out that unknown types cause the UAs to defer to the extension. what a mess.
Modified: index
===================================================================
--- index 2008-11-20 13:28:12 UTC (rev 2424)
+++ index 2008-11-20 13:39:44 UTC (rev 2425)
@@ -15854,8 +15854,9 @@
<p>The <dfn id=concept-embed-type title=concept-embed-type>type of the content</dfn>
being embedded is defined as follows:</p>
- <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
+ <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>
@@ -15883,6 +15884,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
Modified: source
===================================================================
--- source 2008-11-20 13:28:12 UTC (rev 2424)
+++ source 2008-11-20 13:39:44 UTC (rev 2425)
@@ -16946,8 +16946,9 @@
<ol>
<li><p>If the element has a <code
- title="attr-embed-type">type</code> attribute, then the value of
- the <code title="attr-embed-type">type</code> attribute is the
+ title="attr-embed-type">type</code> attribute, and that attribute's
+ value is a type that a <span>plugin</span> supports, then the value
+ of the <code title="attr-embed-type">type</code> attribute is the
<span>content's type</span>.</p></li>
<li>
@@ -16977,6 +16978,8 @@
<li><p>Otherwise, the content has no type and there can be no
appropriate <span>plugin</span> for it.</p></li>
+ <!-- This algorithm is a monument to bad design. Go legacy! -->
+
</ol>
<p>Whether the resource is fetched successfully or not (e.g. whether
More information about the Commit-Watchers
mailing list