W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2010

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)

From: poot <cvsmail@w3.org>
Date: Fri, 9 Apr 2010 13:14:48 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100409041449.00AB02BC1C@toro.w3.mag.keio.ac.jp>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:18 GMT