- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 25 Aug 2010 00:13:51 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv17019
Modified Files:
Overview.html
Log Message:
examples for boolean attributes (whatwg r5345)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4261
retrieving revision 1.4262
diff -u -d -r1.4261 -r1.4262
--- Overview.html 24 Aug 2010 23:46:00 -0000 1.4261
+++ Overview.html 25 Aug 2010 00:13:47 -0000 1.4262
@@ -311,7 +311,7 @@
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
- <h2 class="no-num no-toc" id="editor-s-draft-24-august-2010">Editor's Draft 24 August 2010</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-25-august-2010">Editor's Draft 25 August 2010</h2>
<dl><dt>Latest Published Version:</dt>
<dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
<dt>Latest Editor's Draft:</dt>
@@ -417,7 +417,7 @@
Group</a> is the W3C working group responsible for this
specification's progress along the W3C Recommendation
track.
- This specification is the 24 August 2010 Editor's Draft.
+ This specification is the 25 August 2010 Editor's Draft.
</p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -3066,7 +3066,23 @@
match for the attribute's canonical name, with no leading or
trailing whitespace.<p class="note">The values "true" and "false" are not allowed on
boolean attributes. To represent a false value, the attribute has to
- be omitted altogether.<h4 id="keywords-and-enumerated-attributes"><span class="secno">2.4.3 </span>Keywords and enumerated attributes</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>Some attributes are defined as taking one of a finite set of
+ be omitted altogether.<div class="example">
+
+ <p>Here is an example of a checkbox that is checked and disabled.
+ The <code title="attr-input-checked"><a href="#attr-input-checked">checked</a></code> and <code title="attr-input-readonly"><a href="#attr-input-readonly">readonly</a></code> attributes are the
+ boolean attributes.</p>
+
+ <pre><label><input type=checkbox checked name=cheese disabled> Cheese</label></pre>
+
+ <p>This could be equivalently written as this:
+
+ <pre><label><input type=checkbox checked=checked name=cheese disabled=disabled> Cheese</label></pre>
+
+ <p>You can also mix styles; the following is still equivalent:</p>
+
+ <pre><label><input type='checkbox' checked name=cheese disabled=""> Cheese</label></pre>
+
+ </div><h4 id="keywords-and-enumerated-attributes"><span class="secno">2.4.3 </span>Keywords and enumerated attributes</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>Some attributes are defined as taking one of a finite set of
keywords. Such attributes are called <dfn id="enumerated-attribute" title="enumerated
attribute">enumerated attributes</dfn>. The keywords are each
defined to map to a particular <em>state</em> (several keywords
@@ -13144,7 +13160,7 @@
<em>...more content...</em>
</div>
<footer>
- <p>Posted <time pubdate datetime="2009-10-10T14:36-08:00">Thursday</time>.</p>
+ <p>Posted <time pubdate="" datetime="2009-10-10T14:36-08:00">Thursday</time>.</p>
</footer>
</article>
<em>...more blog posts...</em>
Received on Wednesday, 25 August 2010 00:13:53 UTC