Permalink
Browse files

[giow] (2) Make <object type=application/octet-stream> ignore the typ…

…e= attribute for legacy compat also when Content-Type is set to application/octet-stream, or is set to text/plain and data is binary.

git-svn-id: http://svn.whatwg.org/webapps@4991 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Apr 9, 2010
1 parent fb2ca32 commit 642d33aa40174a2ab26edd0e3993ef4f81d864e3
Showing with 15 additions and 12 deletions.
  1. +5 −4 complete.html
  2. +5 −4 index
  3. +5 −4 source
| 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 | | |
<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>
9 index
| 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 | | |
<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>
9 source
| 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 | | |

<p>If there is a <code
title="attr-object-type">type</code> attribute present on
the <code>object</code> element, then run the
the <code>object</code> element, and its value is not
<code>application/octet-stream</code>, then run the
following steps:</p>

<ol>

0 comments on commit 642d33a

Please sign in to comment.