hixie: Make <object type=application/octet-stream> ignore the type= attribute for legacy compat also when Content-Type is set to application/octet-stream, or is set to text/plain and data is binary. (whatwg r4991)

hixie: Make <object type=application/octet-stream> ignore the type=
attribute for legacy compat also when Content-Type is set to application
/octet-stream, or is set to text/plain and data is binary. (whatwg
r4991)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4008&r2=1.4009&f=h
http://html5.org/tools/web-apps-tracker?from=4990&to=4991

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4008
retrieving revision 1.4009
diff -u -d -r1.4008 -r1.4009
--- Overview.html 9 Apr 2010 04:05:39 -0000 1.4008
+++ Overview.html 9 Apr 2010 04:14:35 -0000 1.4009
@@ -19137,10 +19137,10 @@
    |                 Does the page sniff as binary? ======> Is there a type="" attribute?       application/octet-stream?    |
    |                   |                                     |              |                      |                |        |
    |                   | NO                                  | YES          | NO                   | YES            | NO     |
-   |                   |                                     |              V                      V                |        |
-   |                   |                                     |             Extension that is plugin type?           |        |
+   |                   |                                     |       YES    V                      V                |        |
+   |                   |                  application/octet-stream? =====> Extension that is plugin type?           |        |
    |                   |                                     |                          |          |                |        |
-   |                   |                                     |                          | NO       | YES            |        |
+   |                   |                                     | NO                       | NO       | YES            |        |
    |                   |                                     V                          |          |                |        |
    |                   |                           Type attribute is XML or     YES     V          |                |        |
    |                   |                           doesn't start with image/* ======> FALLBACK     |                |        |
@@ -19247,7 +19247,8 @@
            <li>
 
             <p>If there is a <code title="attr-object-type"><a href="#attr-object-type">type</a></code> attribute present on
-            the <code><a href="#the-object-element">object</a></code> element, then run the
+            the <code><a href="#the-object-element">object</a></code> element, and its value is not
+            <code>application/octet-stream</code>, then run the
             following steps:</p>
 
             <ol><li>

Received on Friday, 9 April 2010 04:15:16 UTC