- From: poot <cvsmail@w3.org>
- Date: Fri, 21 May 2010 06:23:59 +0900 (JST)
- To: public-html-diffs@w3.org
eliot: Updated 5.2.3 Attribute Values and included list of values that must be lower case; fixed typo in 5.1; in 5.3 removed white space from <p> </p>; http://dev.w3.org/cvsweb/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html?r1=1.9&r2=1.10&f=h =================================================================== RCS file: /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- html-xhtml-authoring-guide.html 11 May 2010 22:25:34 -0000 1.9 +++ html-xhtml-authoring-guide.html 20 May 2010 21:23:35 -0000 1.10 @@ -109,8 +109,8 @@ class="secno">5.2.1 </span>Element Names</a></li><li class="tocline"><a class="tocxref" href="#attribute-names"><span class="secno">5.2.2 </span>Attribute Names</a></li><li class="tocline"><a class="tocxref" -href="#attribute-characters"><span class="secno">5.2.3 </span>Attribute -Characters</a></li></ul></li><li class="tocline"><a class="tocxref" +href="#attribute-values"><span class="secno">5.2.3 </span>Attribute +Values</a></li></ul></li><li class="tocline"><a class="tocxref" href="#empty-elements"><span class="secno">5.3 </span>Empty Elements</a></li></ul></li><li class="tocline"><a class="tocxref" href="#attributes"><span class="secno">6. </span>Attributes</a></li><li class="tocline"><a @@ -276,7 +276,7 @@ For a polyglot document, a table <em title="must" class="rfc2119">must</em> explicitly have a <code>tbody</code> element surrounding groups of <code>tr</code> elements. - HTML pasrsers insert the <code>tbody</code> element, but XML + HTML parsers insert the <code>tbody</code> element, but XML parsers do not, thus creating different DOMs. </p> <p> @@ -449,16 +449,69 @@ </ul> </div> - <div class="section" id="attribute-characters"> - <h4><span class="secno">5.2.3 </span>Attribute Characters</h4> + <div class="section" id="attribute-values"> + <h4><span class="secno">5.2.3 </span>Attribute Values</h4> <p> - You <em title="must" class="rfc2119">must</em> specify attribute -letters as lowercase. - When required, you <em title="must" class="rfc2119">must</em> use -lower case letters for all ASCII letters; however, case requirements do -not apply to non-ASCII letters such as Greek, Cyrillic, or non-ASCII -Latin letters. + The values for the attributes in the following list <em title="must" + class="rfc2119">must</em> use lowercase letters when they exist on HTML + elements. + More specifically, where required, you <em title="must" +class="rfc2119">must</em> use lower case letters for all ASCII letters +in these attribute values; however, case requirements do not apply to +non-ASCII letters such as Greek, Cyrillic, or non-ASCII Latin letters. + Attributes for HTML elements other than those in the following list <em + title="may" class="rfc2119">may</em> have values made of mixed case +letters. All attributes on non-HTML elements may have values made of +mixed case letters. </p> + <ul> + <li><code>accept</code></li> + <li><code>accept-charset</code></li> + <li><code>align</code></li> + <li><code>alink</code></li> + <li><code>axis</code></li> + <li><code>bgcolor</code></li> + <li><code>charset</code></li> + <li><code>checked</code></li> + <li><code>clear</code></li> + <li><code>codetype</code></li> + <li><code>color</code></li> + <li><code>compact</code></li> + <li><code>declare</code></li> + <li><code>defer</code></li> + <li><code>dir</code></li> + <li><code>direction</code></li> + <li><code>disabled</code></li> + <li><code>enctype</code></li> + <li><code>face</code></li> + <li><code>frame</code></li> + <li><code>hreflang</code></li> + <li><code>http-equiv</code></li> + <li><code>lang</code></li> + <li><code>language</code></li> + <li><code>link</code></li> + <li><code>media</code></li> + <li><code>method</code></li> + <li><code>multiple</code></li> + <li><code>nohref</code></li> + <li><code>noresize</code></li> + <li><code>noshade</code></li> + <li><code>nowrap</code></li> + <li><code>readonly</code></li> + <li><code>rel</code></li> + <li><code>rev</code></li> + <li><code>rules</code></li> + <li><code>scope</code></li> + <li><code>scrolling</code></li> + <li><code>selected</code></li> + <li><code>shape</code></li> + <li><code>target</code></li> + <li><code>text</code></li> + <li><code>type</code></li> + <li><code>valign</code></li> + <li><code>valuetype</code></li> + <li><code>vlink</code></li> + </ul> </div> </div> @@ -494,7 +547,7 @@ <p> Given an empty instance of an element whose content model is not EMPTY (for example, an empty title or paragraph) do not use the -minimized form (e.g. use <code><p> </p></code> and not <code><p +minimized form (e.g. use <code><p></p></code> and not <code><p /></code>). </p> <p>
Received on Thursday, 20 May 2010 21:24:28 UTC