W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2009

html5/spec Overview.html,1.3297,1.3298

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 16 Oct 2009 08:53:44 +0000
To: public-html-commits@w3.org
Message-Id: <E1MyiZE-0004o9-DI@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv18467

Modified Files:
	Overview.html 
Log Message:
Prevent <object> from sniffing text/plain as text/html if there's a text/html plugin (not that that should ever happen, but...). (whatwg r4149)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3297
retrieving revision 1.3298
diff -u -d -r1.3297 -r1.3298
--- Overview.html	16 Oct 2009 07:41:49 -0000	1.3297
+++ Overview.html	16 Oct 2009 08:53:41 -0000	1.3298
@@ -18138,6 +18138,12 @@
 
        <li>
 
+        <p>Let the <var title="">sniffed</var> flag be false.</p>
+
+       </li>
+
+       <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, and that
         attribute's value is not a type that the user agent supports,
@@ -18160,7 +18166,8 @@
         being "<code title="">text/plain</code>", then let the <var title="">resource type</var> be the result of applying the
         <a href="#content-type-sniffing:-text-or-binary" title="Content-Type sniffing: text or binary">rules for
         distingushing if a resource is text or binary</a> to the
-        resource instead.</p>
+        resource instead, and then set the <var title="">sniffed</var>
+        flag to true.</p>
 
        </li>
 
@@ -18202,9 +18209,14 @@
        <li>
 
         <p>If the <var title="">resource type</var> is still unknown,
-        then change the <var title="">resource type</var> to instead
-        be the <a href="#content-type-sniffing-0" title="content-type sniffing">sniffed type
-        of the resource</a>.</p>
+        and the <var title="">sniffed</var> flag is false, then change
+        the <var title="">resource type</var> to instead be the <a href="#content-type-sniffing-0" title="content-type sniffing">sniffed type of the
+        resource</a>.</p>
+
+        <p>Otherwise, if the <var title="">resource type</var> is
+        still unknown, and the <var title="">sniffed</var> flag is
+        <em>true</em>, then change the <var title="">resource
+        type</var> back to <code title="">text/plain</code>.</p>
 
        </li>
 
Received on Friday, 16 October 2009 08:53:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 16 October 2009 08:53:48 GMT