- From: poot <cvsmail@w3.org>
- Date: Fri, 16 Oct 2009 17:53:57 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: 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) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3297&r2=1.3298&f=h http://html5.org/tools/web-apps-tracker?from=4148&to=4149 =================================================================== 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:54:28 UTC