Skip to content

Commit

Permalink
[giow] (2) Make <object type=application/octet-stream> ignore the typ…
Browse files Browse the repository at this point in the history
…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 642d33a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
9 changes: 5 additions & 4 deletions complete.html
Expand Up @@ -22247,10 +22247,10 @@ <h4 id=the-object-element><span class=secno>4.8.4 </span>The <dfn><code>object</
| 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 | | |
Expand Down Expand Up @@ -22357,7 +22357,8 @@ <h4 id=the-object-element><span class=secno>4.8.4 </span>The <dfn><code>object</
<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>
Expand Down
9 changes: 5 additions & 4 deletions index
Expand Up @@ -22148,10 +22148,10 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
| 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 | | |
Expand Down Expand Up @@ -22258,7 +22258,8 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<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>
Expand Down
9 changes: 5 additions & 4 deletions source
Expand Up @@ -23734,10 +23734,10 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
| 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 | | |
Expand Down Expand Up @@ -23854,7 +23854,8 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>

<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>
Expand Down

0 comments on commit 642d33a

Please sign in to comment.