W3C home > Mailing lists > Public > public-html-diffs@w3.org > July 2009

hixie: Elaborate on unquoted attribute values in intro. (whatwg r3438)

From: poot <cvsmail@w3.org>
Date: Fri, 17 Jul 2009 12:58:38 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090717035838.4A87B2BC73@toro.w3.mag.keio.ac.jp>
hixie: Elaborate on unquoted attribute values in intro. (whatwg r3438)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2562&r2=1.2563&f=h
http://html5.org/tools/web-apps-tracker?from=3437&to=3438

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2562
retrieving revision 1.2563
diff -u -d -r1.2562 -r1.2563
--- Overview.html	17 Jul 2009 01:30:48 -0000	1.2562
+++ Overview.html	17 Jul 2009 03:57:07 -0000	1.2563
@@ -1396,10 +1396,11 @@
   nested.<p>Elements can have attributes, which control how the elements
   work. In the example above, there is a <a href="#hyperlink">hyperlink</a>,
   formed using the <code><a href="#the-a-element">a</a></code> element and its <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attribute:<pre>&lt;a href="demo.html"&gt;simple&lt;/a&gt;</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
-  unquoted if it is a keyword. 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.<pre>&lt;!-- empty attributes --&gt;
+  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 <a href="#unquoted">left 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.<pre>&lt;!-- empty attributes --&gt;
 &lt;input name=address disabled&gt;
 &lt;input name=address disabled=""&gt;
 
@@ -52262,7 +52263,7 @@
 
    </dd>
 
-   <dt>Unquoted attribute value syntax</dt>
+   <dt id="unquoted">Unquoted attribute value syntax</dt>
 
    <dd>
 
@@ -65397,6 +65398,7 @@
   Anthony Ricaud,
   Antti Koivisto,
   Arphen Lin,
+  Aryeh Gregor,
   Asbj&oslash;rn Ulsberg,
   Ashley Sheridan,
   Aurelien Levy,
Received on Friday, 17 July 2009 03:59:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:07 GMT