[html5] r4292 - [e] (0) Mention that unquoted attributes can't contain spaces. Fixing http://www [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Oct 22 23:06:24 PDT 2009


Author: ianh
Date: 2009-10-22 23:06:20 -0700 (Thu, 22 Oct 2009)
New Revision: 4292

Modified:
   complete.html
   index
   source
Log:
[e] (0) Mention that unquoted attributes can't contain spaces.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7995

Modified: complete.html
===================================================================
--- complete.html	2009-10-23 06:03:32 UTC (rev 4291)
+++ complete.html	2009-10-23 06:06:20 UTC (rev 4292)
@@ -1696,9 +1696,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 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
+  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 spaces or 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 -->

Modified: index
===================================================================
--- index	2009-10-23 06:03:32 UTC (rev 4291)
+++ index	2009-10-23 06:06:20 UTC (rev 4292)
@@ -1506,9 +1506,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 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
+  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 spaces or 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 -->

Modified: source
===================================================================
--- source	2009-10-23 06:03:32 UTC (rev 4291)
+++ source	2009-10-23 06:06:20 UTC (rev 4292)
@@ -491,11 +491,11 @@
   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 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
+  href="#unquoted">unquoted</a> if it doesn't contain spaces or 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>
 




More information about the Commit-Watchers mailing list