[html5] r7240 - [e] (0) factor out these constants Fixing https://www.w3.org/Bugs/Public/show_bu [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Aug 9 17:02:01 PDT 2012
Author: ianh
Date: 2012-08-09 17:01:59 -0700 (Thu, 09 Aug 2012)
New Revision: 7240
Modified:
complete.html
index
source
Log:
[e] (0) factor out these constants
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17863
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2012-08-09 23:40:05 UTC (rev 7239)
+++ complete.html 2012-08-10 00:01:59 UTC (rev 7240)
@@ -8529,12 +8529,11 @@
specification. Both sets of rules return a <a href=#mime-type>MIME type</a> as
their result. <a href=#refsMIMESNIFF>[MIMESNIFF]</a></p>
- <p class=warning>It is imperative that the rules in the
- Media Type Sniffing specification be followed
- exactly. When a user agent uses different heuristics for content
- type detection than the server expects, security problems can
- occur. For more details, see the Media Type Sniffing
- specification. <a href=#refsMIMESNIFF>[MIMESNIFF]</a></p>
+ <p class=warning>It is imperative that the rules in the Media Type
+ Sniffing specification be followed exactly. When a user agent uses
+ different heuristics for content type detection than the server
+ expects, security problems can occur. For more details, see the
+ Media Type Sniffing specification. <a href=#refsMIMESNIFF>[MIMESNIFF]</a></p>
<h4 id=extracting-encodings-from-meta-elements><span class=secno>2.7.4 </span>Extracting encodings from <code><a href=#the-meta-element>meta</a></code> elements</h4>
@@ -8550,36 +8549,36 @@
<a href=#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.</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).</li>
+ <li><p>Skip any <a href=#space-character title="space character">space
+ characters</a> that immediately follow the word "<code title="">charset</code>" (there might not be any).</li>
<li><p>If the next character is not a U+003D EQUALS SIGN (=),
then move <var title="">position</var> to point just before that
next character, and jump back to the step labeled
<i>loop</i>.</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
- be any).</li>
+ <li><p>Skip any <a href=#space-character title="space character">space
+ characters</a> that immediately follow the equals sign (there
+ might not be any).</li>
<li>
<p>Process the next character as follows:</p>
- <dl class=switch><dt>If it is a U+0022 QUOTATION MARK (") and there is a later U+0022 QUOTATION MARK (") in <var title="">s</var></dt>
- <dt>If it is a U+0027 APOSTROPHE (') and there is a later U+0027 APOSTROPHE (') in <var title="">s</var></dt>
+ <dl class=switch><dt>If it is a U+0022 QUOTATION MARK character (") and there is a later U+0022 QUOTATION MARK character (") in <var title="">s</var></dt>
+ <dt>If it is a U+0027 APOSTROPHE character (') and there is a later U+0027 APOSTROPHE character (') in <var title="">s</var></dt>
<dd>Return the encoding corresponding to the string between this character and the next earliest occurrence of this character.</dd>
- <dt>If it is an unmatched U+0022 QUOTATION MARK (")</dt>
- <dt>If it is an unmatched U+0027 APOSTROPHE (')</dt>
+ <dt>If it is an unmatched U+0022 QUOTATION MARK character (")</dt>
+ <dt>If it is an unmatched U+0027 APOSTROPHE character (')</dt>
<dt>If there is no next character</dt>
<dd>Return nothing.</dd>
<dt>Otherwise</dt>
<dd>Return the encoding corresponding to the string from this
- character to the first U+0009, U+000A, U+000C, U+000D, U+0020, or
- U+003B character or the end of <var title="">s</var>, whichever
- comes first.</dd>
+ character to the first <a href=#space-character>space character</a> or U+003B
+ SEMICOLON character (;), or the end of <var title="">s</var>,
+ whichever comes first.</dd>
</dl></li>
Modified: index
===================================================================
--- index 2012-08-09 23:40:05 UTC (rev 7239)
+++ index 2012-08-10 00:01:59 UTC (rev 7240)
@@ -8529,12 +8529,11 @@
specification. Both sets of rules return a <a href=#mime-type>MIME type</a> as
their result. <a href=#refsMIMESNIFF>[MIMESNIFF]</a></p>
- <p class=warning>It is imperative that the rules in the
- Media Type Sniffing specification be followed
- exactly. When a user agent uses different heuristics for content
- type detection than the server expects, security problems can
- occur. For more details, see the Media Type Sniffing
- specification. <a href=#refsMIMESNIFF>[MIMESNIFF]</a></p>
+ <p class=warning>It is imperative that the rules in the Media Type
+ Sniffing specification be followed exactly. When a user agent uses
+ different heuristics for content type detection than the server
+ expects, security problems can occur. For more details, see the
+ Media Type Sniffing specification. <a href=#refsMIMESNIFF>[MIMESNIFF]</a></p>
<h4 id=extracting-encodings-from-meta-elements><span class=secno>2.7.4 </span>Extracting encodings from <code><a href=#the-meta-element>meta</a></code> elements</h4>
@@ -8550,36 +8549,36 @@
<a href=#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.</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).</li>
+ <li><p>Skip any <a href=#space-character title="space character">space
+ characters</a> that immediately follow the word "<code title="">charset</code>" (there might not be any).</li>
<li><p>If the next character is not a U+003D EQUALS SIGN (=),
then move <var title="">position</var> to point just before that
next character, and jump back to the step labeled
<i>loop</i>.</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
- be any).</li>
+ <li><p>Skip any <a href=#space-character title="space character">space
+ characters</a> that immediately follow the equals sign (there
+ might not be any).</li>
<li>
<p>Process the next character as follows:</p>
- <dl class=switch><dt>If it is a U+0022 QUOTATION MARK (") and there is a later U+0022 QUOTATION MARK (") in <var title="">s</var></dt>
- <dt>If it is a U+0027 APOSTROPHE (') and there is a later U+0027 APOSTROPHE (') in <var title="">s</var></dt>
+ <dl class=switch><dt>If it is a U+0022 QUOTATION MARK character (") and there is a later U+0022 QUOTATION MARK character (") in <var title="">s</var></dt>
+ <dt>If it is a U+0027 APOSTROPHE character (') and there is a later U+0027 APOSTROPHE character (') in <var title="">s</var></dt>
<dd>Return the encoding corresponding to the string between this character and the next earliest occurrence of this character.</dd>
- <dt>If it is an unmatched U+0022 QUOTATION MARK (")</dt>
- <dt>If it is an unmatched U+0027 APOSTROPHE (')</dt>
+ <dt>If it is an unmatched U+0022 QUOTATION MARK character (")</dt>
+ <dt>If it is an unmatched U+0027 APOSTROPHE character (')</dt>
<dt>If there is no next character</dt>
<dd>Return nothing.</dd>
<dt>Otherwise</dt>
<dd>Return the encoding corresponding to the string from this
- character to the first U+0009, U+000A, U+000C, U+000D, U+0020, or
- U+003B character or the end of <var title="">s</var>, whichever
- comes first.</dd>
+ character to the first <a href=#space-character>space character</a> or U+003B
+ SEMICOLON character (;), or the end of <var title="">s</var>,
+ whichever comes first.</dd>
</dl></li>
Modified: source
===================================================================
--- source 2012-08-09 23:40:05 UTC (rev 7239)
+++ source 2012-08-10 00:01:59 UTC (rev 7240)
@@ -8472,12 +8472,12 @@
specification. Both sets of rules return a <span>MIME type</span> as
their result. <a href="#refsMIMESNIFF">[MIMESNIFF]</a></p>
- <p class="warning">It is imperative that the rules in the
- Media Type Sniffing specification be followed
- exactly. When a user agent uses different heuristics for content
- type detection than the server expects, security problems can
- occur. For more details, see the Media Type Sniffing
- specification. <a href="#refsMIMESNIFF">[MIMESNIFF]</a></p>
+ <p class="warning">It is imperative that the rules in the Media Type
+ Sniffing specification be followed exactly. When a user agent uses
+ different heuristics for content type detection than the server
+ expects, security problems can occur. For more details, see the
+ Media Type Sniffing specification. <a
+ href="#refsMIMESNIFF">[MIMESNIFF]</a></p>
<h4>Extracting encodings from <code>meta</code> elements</h4>
@@ -8499,8 +8499,8 @@
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
+ <li><p>Skip any <span title="space character">space
+ characters</span> 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 (=),
@@ -8508,9 +8508,9 @@
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
- be any).</p></li>
+ <li><p>Skip any <span title="space character">space
+ characters</span> that immediately follow the equals sign (there
+ might not be any).</p></li>
<li>
@@ -8518,20 +8518,20 @@
<dl class="switch">
- <dt>If it is a U+0022 QUOTATION MARK (") and there is a later U+0022 QUOTATION MARK (") in <var title="">s</var></dt>
- <dt>If it is a U+0027 APOSTROPHE (') and there is a later U+0027 APOSTROPHE (') in <var title="">s</var></dt>
+ <dt>If it is a U+0022 QUOTATION MARK character (") and there is a later U+0022 QUOTATION MARK character (") in <var title="">s</var></dt>
+ <dt>If it is a U+0027 APOSTROPHE character (') and there is a later U+0027 APOSTROPHE character (') in <var title="">s</var></dt>
<dd>Return the encoding corresponding to the string between this character and the next earliest occurrence of this character.</dd>
- <dt>If it is an unmatched U+0022 QUOTATION MARK (")</dt>
- <dt>If it is an unmatched U+0027 APOSTROPHE (')</dt>
+ <dt>If it is an unmatched U+0022 QUOTATION MARK character (")</dt>
+ <dt>If it is an unmatched U+0027 APOSTROPHE character (')</dt>
<dt>If there is no next character</dt>
<dd>Return nothing.</dd>
<dt>Otherwise</dt>
<dd>Return the encoding corresponding to the string from this
- character to the first U+0009, U+000A, U+000C, U+000D, U+0020, or
- U+003B character or the end of <var title="">s</var>, whichever
- comes first.</dd>
+ character to the first <span>space character</span> or U+003B
+ SEMICOLON character (;), or the end of <var title="">s</var>,
+ whichever comes first.</dd>
</dl>
More information about the Commit-Watchers
mailing list