[html5] r4260 - [e] (0) Mention what the special characters are. Fixing http://www.w3.org/Bugs/P [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 21 04:59:02 PDT 2009


Author: ianh
Date: 2009-10-21 04:58:58 -0700 (Wed, 21 Oct 2009)
New Revision: 4260

Modified:
   complete.html
   index
   source
Log:
[e] (0) Mention what the special characters are.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7979

Modified: complete.html
===================================================================
--- complete.html	2009-10-21 11:48:20 UTC (rev 4259)
+++ complete.html	2009-10-21 11:58:58 UTC (rev 4260)
@@ -1675,11 +1675,10 @@
   <pre><a href="demo.html">simple</a></pre>
 
   <p><a href=#syntax-attributes title=syntax-attributes>Attributes</a> are placed
-  inside the start tag, and consist of a <a href=#syntax-attribute-name title=syntax-attribute-name>name</a> and a <a href=#syntax-attribute-value title=syntax-attribute-value>value</a>, separated by an "<code title="">=</code>" character. The attribute value can be left <a href=#unquoted>unquoted</a> if it doesn't contain any special
-  characters. Otherwise, it has to be quoted using either single or
-  double quotes. The value, along with the "<code title="">=</code>"
-  character, can be omitted altogether if the value is the empty
-  string.</p>
+  inside the start tag, and consist of a <a href=#syntax-attribute-name title=syntax-attribute-name>name</a> and a <a href=#syntax-attribute-value title=syntax-attribute-value>value</a>, separated by an "<code title="">=</code>" character. The attribute value can be left <a href=#unquoted>unquoted</a> if it doesn't contain any of <code title="">"</code> <code title="">'</code> <code title="">`</code>
+  <code title="">=</code> <code title=""><</code> or <code title="">></code>. Otherwise, it has to be quoted using either
+  single or double quotes. The value, along with the "<code title="">=</code>" character, can be omitted altogether if the value
+  is the empty string.</p>
 
   <pre><!-- empty attributes -->
 <input name=address disabled>

Modified: index
===================================================================
--- index	2009-10-21 11:48:20 UTC (rev 4259)
+++ index	2009-10-21 11:58:58 UTC (rev 4260)
@@ -1505,11 +1505,10 @@
   <pre><a href="demo.html">simple</a></pre>
 
   <p><a href=#syntax-attributes title=syntax-attributes>Attributes</a> are placed
-  inside the start tag, and consist of a <a href=#syntax-attribute-name title=syntax-attribute-name>name</a> and a <a href=#syntax-attribute-value title=syntax-attribute-value>value</a>, separated by an "<code title="">=</code>" character. The attribute value can be left <a href=#unquoted>unquoted</a> if it doesn't contain any special
-  characters. Otherwise, it has to be quoted using either single or
-  double quotes. The value, along with the "<code title="">=</code>"
-  character, can be omitted altogether if the value is the empty
-  string.</p>
+  inside the start tag, and consist of a <a href=#syntax-attribute-name title=syntax-attribute-name>name</a> and a <a href=#syntax-attribute-value title=syntax-attribute-value>value</a>, separated by an "<code title="">=</code>" character. The attribute value can be left <a href=#unquoted>unquoted</a> if it doesn't contain any of <code title="">"</code> <code title="">'</code> <code title="">`</code>
+  <code title="">=</code> <code title=""><</code> or <code title="">></code>. Otherwise, it has to be quoted using either
+  single or double quotes. The value, along with the "<code title="">=</code>" character, can be omitted altogether if the value
+  is the empty string.</p>
 
   <pre><!-- empty attributes -->
 <input name=address disabled>

Modified: source
===================================================================
--- source	2009-10-21 11:48:20 UTC (rev 4259)
+++ source	2009-10-21 11:58:58 UTC (rev 4260)
@@ -469,11 +469,13 @@
   title="syntax-attribute-name">name</span> and a <span
   title="syntax-attribute-value">value</span>, separated by an "<code
   title="">=</code>" character. The attribute value can be left <a
-  href="#unquoted">unquoted</a> if it doesn't contain any special
-  characters. Otherwise, it has to be quoted using either single or
-  double quotes. The value, along with the "<code title="">=</code>"
-  character, can be omitted altogether if the value is the empty
-  string.</p>
+  href="#unquoted">unquoted</a> if it doesn't contain any of <code
+  title="">"</code> <code title="">'</code> <code title="">`</code>
+  <code title="">=</code> <code title=""><</code> or <code
+  title="">></code>. Otherwise, it has to be quoted using either
+  single or double quotes. The value, along with the "<code
+  title="">=</code>" character, can be omitted altogether if the value
+  is the empty string.</p>
 
   <pre><!-- empty attributes -->
 <input name=address disabled>




More information about the Commit-Watchers mailing list