- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 29 Sep 2010 02:16:36 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv30302 Modified Files: fetching-resources.html spec.html Log Message: Update to better match UAs. (whatwg r5546) [updated by splitter] Index: fetching-resources.html =================================================================== RCS file: /sources/public/html5/spec/fetching-resources.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- fetching-resources.html 28 Sep 2010 19:46:35 -0000 1.16 +++ fetching-resources.html 29 Sep 2010 02:16:34 -0000 1.17 @@ -641,16 +641,20 @@ Content-Type</dfn>, given a string <var title="">s</var>, is as follows. It either returns an encoding or nothing.</p> - <ol><li><p>Find the first seven characters in <var title="">s</var> - that are an <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a> match for the word - "<code title="">charset</code>". If no such match is found, return - nothing.</p></li> + <ol><!-- http://www.hixie.ch/tests/adhoc/html/parsing/encoding/all.html --><li><p>Let <var title="">position</var> be a pointed into <var title="">s</var>, initially pointing at the start of the + string.</p></li> + + <li><p><i>Loop</i>: Find the first seven characters in <var title="">s</var> after <var title="">position</var> that are an + <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a> match for the word "<code title="">charset</code>". If no such match is found, return nothing + and abort these steps.</p></li> <li><p>Skip any U+0009, U+000A, U+000C, U+000D, or U+0020 characters that immediately follow the word "<code title="">charset</code>" (there might not be any).</p></li> <li><p>If the next character is not a U+003D EQUALS SIGN ('='), - return nothing and abort these steps.</p></li> + then move <var title="">position</var> to point just before that + next character, and jump back to the step labeled + <i>loop</i>.</p></li> <li><p>Skip any U+0009, U+000A, U+000C, U+000D, or U+0020 characters that immediately follow the equals sign (there might not Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1250 retrieving revision 1.1251 diff -u -d -r1.1250 -r1.1251 --- spec.html 29 Sep 2010 01:17:10 -0000 1.1250 +++ spec.html 29 Sep 2010 02:16:34 -0000 1.1251 @@ -338,7 +338,7 @@ <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>, <a href="author/">web developer edition</a>. -This is revision 1.4432. +This is revision 1.4433. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Wednesday, 29 September 2010 02:16:38 UTC