- From: poot <cvsmail@w3.org>
- Date: Tue, 13 Apr 2010 18:54:00 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Try to explain what 'text' means in the attribute table. (whatwg
r5035)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4050&r2=1.4051&f=h
http://html5.org/tools/web-apps-tracker?from=5034&to=5035
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4050
retrieving revision 1.4051
diff -u -d -r1.4050 -r1.4051
--- Overview.html 13 Apr 2010 09:35:28 -0000 1.4050
+++ Overview.html 13 Apr 2010 09:53:42 -0000 1.4051
@@ -520,7 +520,9 @@
<li><a href="#classes"><span class="secno">3.2.3.6 </span>The <code>class</code> attribute</a></li>
<li><a href="#the-style-attribute"><span class="secno">3.2.3.7 </span>The <code>style</code> attribute</a></li>
<li><a href="#embedding-custom-non-visible-data"><span class="secno">3.2.3.8 </span>Embedding custom non-visible data</a></ol></li>
- <li><a href="#element-definitions"><span class="secno">3.2.4 </span>Element definitions</a></li>
+ <li><a href="#element-definitions"><span class="secno">3.2.4 </span>Element definitions</a>
+ <ol>
+ <li><a href="#attributes"><span class="secno">3.2.4.1 </span>Attributes</a></ol></li>
<li><a href="#content-models"><span class="secno">3.2.5 </span>Content models</a>
<ol>
<li><a href="#kinds-of-content"><span class="secno">3.2.5.1 </span>Kinds of content</a>
@@ -1029,7 +1031,7 @@
<ol>
<li><a href="#start-tags"><span class="secno">8.1.2.1 </span>Start tags</a></li>
<li><a href="#end-tags"><span class="secno">8.1.2.2 </span>End tags</a></li>
- <li><a href="#attributes"><span class="secno">8.1.2.3 </span>Attributes</a></li>
+ <li><a href="#attributes-0"><span class="secno">8.1.2.3 </span>Attributes</a></li>
<li><a href="#optional-tags"><span class="secno">8.1.2.4 </span>Optional tags</a></li>
<li><a href="#element-restrictions"><span class="secno">8.1.2.5 </span>Restrictions on content models</a></li>
<li><a href="#cdata-rcdata-restrictions"><span class="secno">8.1.2.6 </span>Restrictions on the contents of raw text and RCDATA elements</a></ol></li>
@@ -1241,7 +1243,7 @@
<ol>
<li><a class="no-num" href="#elements-1">Elements</a></li>
<li><a class="no-num" href="#element-content-categories">Element content categories</a></li>
- <li><a class="no-num" href="#attributes-0">Attributes</a></li>
+ <li><a class="no-num" href="#attributes-1">Attributes</a></li>
<li><a class="no-num" href="#interfaces">Interfaces</a></li>
<li><a class="no-num" href="#events-0">Events</a></ol></li>
<li><a class="no-num" href="#references">References</a></li>
@@ -8247,7 +8249,10 @@
</dl><p>This is then followed by a description of what the element
<a href="#represents">represents</a>, along with any additional normative
conformance criteria that may apply to authors<span class="impl" title=""> and implementations</span>. Examples are sometimes
- also included.<h4 id="content-models"><span class="secno">3.2.5 </span><dfn>Content models</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>Each element defined in this specification has a content model: a
+ also included.<h5 id="attributes"><span class="secno">3.2.4.1 </span>Attributes</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p id="attribute-text">Except where otherwise specified, attributes
+ on <a href="#html-elements">HTML elements</a> may have any string value, including
+ the empty string. Except where explicitly stated, is no restriction
+ on what text can be specified in such attributes.<h4 id="content-models"><span class="secno">3.2.5 </span><dfn>Content models</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>Each element defined in this specification has a content model: a
description of the element's expected contents. An <a href="#html-elements" title="HTML
elements">HTML element</a> must have contents that match the
requirements described in the element's content model.<p class="note">As noted in the conformance and terminology
@@ -51971,7 +51976,7 @@
<li>Finally, end tags must be closed by a U+003E GREATER-THAN SIGN
character (>).</li>
- </ol><h5 id="attributes"><span class="secno">8.1.2.3 </span>Attributes</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p><dfn id="syntax-attributes" title="syntax-attributes">Attributes</dfn> for an element
+ </ol><h5 id="attributes-0"><span class="secno">8.1.2.3 </span>Attributes</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p><dfn id="syntax-attributes" title="syntax-attributes">Attributes</dfn> for an element
are expressed inside the element's start tag.<p>Attributes have a name and a value. <dfn id="syntax-attribute-name" title="syntax-attribute-name">Attribute names</dfn> must consist of
one or more characters other than the <a href="#space-character" title="space
character">space characters</a>, U+0000 NULL, U+0022 QUOTATION
@@ -65974,7 +65979,7 @@
<td>
—
- </table><h3 class="no-num" id="attributes-0">Attributes</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p><i>This section is non-normative.</i><table><caption>List of attributes (excluding event handler content attributes)</caption>
+ </table><h3 class="no-num" id="attributes-1">Attributes</h3><p><i>This section is non-normative.</i><table><caption>List of attributes (excluding event handler content attributes)</caption>
<thead><tr><th> Attribute
<th> Element(s)
<th> Description
@@ -66000,7 +66005,7 @@
<code title="attr-img-alt"><a href="#attr-img-alt">img</a></code>;
<code title="attr-input-alt"><a href="#attr-input-alt">input</a></code>
<td> Replacement text for use when images are not available
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">async</code>
<td> <code title="attr-script-async"><a href="#attr-script-async">script</a></code>
<td> Execute script asynchronously
@@ -66026,7 +66031,7 @@
<tr><th> <code title="">challenge</code>
<td> <code title="attr-keygen-challenge"><a href="#attr-keygen-challenge">keygen</a></code>
<td> String to package with the generated and signed public key
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">charset</code>
<td> <code title="attr-meta-charset"><a href="#attr-meta-charset">meta</a></code>
<td> <a href="#character-encoding-declaration">Character encoding declaration</a>
@@ -66063,7 +66068,7 @@
<tr><th> <code title="">content</code>
<td> <code title="attr-meta-content"><a href="#attr-meta-content">meta</a></code>
<td> Value of the element
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">contenteditable</code>
<td> <a href="#attr-contenteditable" title="attr-contenteditable">HTML elements</a>
<td> Whether the element is <a href="#editable">editable</a>
@@ -66214,7 +66219,7 @@
<tr><th> <code title="">http-equiv</code>
<td> <code title="attr-meta-http-equiv"><a href="#attr-meta-http-equiv">meta</a></code>
<td> Pragma directive
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">icon</code>
<td> <code title="attr-command-icon"><a href="#attr-command-icon">command</a></code>
<td> Icon for the command
@@ -66222,7 +66227,7 @@
<tr><th> <code title="">id</code>
<td> <a href="#the-id-attribute" title="attr-id">HTML elements</a>
<td> The element's <a href="#concept-id" title="concept-id">ID</a>
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">ismap</code>
<td> <code title="attr-img-ismap"><a href="#attr-img-ismap">img</a></code>
<td> Whether the image is a server-side image map
@@ -66230,14 +66235,14 @@
<tr><th> <code title="">keytype</code>
<td> <code title="attr-keygen-keytype"><a href="#attr-keygen-keytype">keygen</a></code>
<td> The type of cryptographic key to generate
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">label</code>
<td> <code title="attr-command-label"><a href="#attr-command-label">command</a></code>;
<code title="attr-menu-label"><a href="#attr-menu-label">menu</a></code>;
<code title="attr-optgroup-label"><a href="#attr-optgroup-label">optgroup</a></code>;
<code title="attr-option-label"><a href="#attr-option-label">option</a></code>
<td> User-visible label
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">lang</code>
<td> <a href="#attr-lang" title="attr-lang">HTML elements</a>
<td> <a href="#language">Language</a> of the element
@@ -66307,11 +66312,11 @@
<code title="attr-fe-name"><a href="#attr-fe-name">select</a></code>;
<code title="attr-fe-name"><a href="#attr-fe-name">textarea</a></code>
<td> Name of form control to use for <a href="#form-submission">form submission</a> and in the <code title="dom-form-elements"><a href="#dom-form-elements">form.elements</a></code> API
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">name</code>
<td> <code title="attr-form-name"><a href="#attr-form-name">form</a></code>
<td> Name of form to use in the <code title="dom-document-forms"><a href="#dom-document-forms">document.forms</a></code> API
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">name</code>
<td> <code title="attr-iframe-name"><a href="#attr-iframe-name">iframe</a></code>;
<code title="attr-object-name"><a href="#attr-object-name">object</a></code>
@@ -66320,15 +66325,15 @@
<tr><th> <code title="">name</code>
<td> <code title="attr-map-name"><a href="#attr-map-name">map</a></code>
<td> Name of <a href="#image-map">image map</a> to reference from the <code title="attr-hyperlink-usemap"><a href="#attr-hyperlink-usemap">usemap</a></code> attribute
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">name</code>
<td> <code title="attr-meta-name"><a href="#attr-meta-name">meta</a></code>
<td> Metadata name
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">name</code>
<td> <code title="attr-param-name"><a href="#attr-param-name">param</a></code>
<td> Name of parameter
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">novalidate</code>
<td> <code title="attr-fs-novalidate"><a href="#attr-fs-novalidate">form</a></code>
<td> Bypass form control validation for <a href="#form-submission">form submission</a>
@@ -66349,7 +66354,7 @@
<td> <code title="attr-input-placeholder"><a href="#attr-input-placeholder">input</a></code>;
<code title="attr-textarea-placeholder"><a href="#attr-textarea-placeholder">textarea</a></code>
<td> User-visible label to be placed within the form control
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">poster</code>
<td> <code title="attr-video-poster"><a href="#attr-video-poster">video</a></code>
<td> Poster frame to show prior to video playback
@@ -66368,7 +66373,7 @@
<tr><th> <code title="">radiogroup</code>
<td> <code title="attr-command-radiogroup"><a href="#attr-command-radiogroup">command</a></code>
<td> Name of group of commands to treat as a radio button group
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">readonly</code>
<td> <code title="attr-input-readonly"><a href="#attr-input-readonly">input</a></code>;
<code title="attr-textarea-readonly"><a href="#attr-textarea-readonly">textarea</a></code>
@@ -66479,7 +66484,7 @@
<tr><th> <code title="">summary</code>
<td> <code title="attr-table-summary"><a href="#attr-table-summary">table</a></code>
<td> Explanatory text for complex tables for users of screen readers
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr><th> <code title="">tabindex</code>
<td> <a href="#attr-tabindex" title="attr-tabindex">HTML elements</a>
<td> Whether the element is focusable, and the relative order of the element for the purposes of sequential focus navigation
@@ -66500,25 +66505,25 @@
<tr><th> <code title="">title</code>
<td> <a href="#the-title-attribute" title="attr-title">HTML elements</a>
<td> Advisory information for the element
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">title</code>
<td> <code title="attr-abbr-title"><a href="#attr-abbr-title">abbr</a></code>;
<code title="attr-dfn-title"><a href="#attr-dfn-title">dfn</a></code>
<td> Full term or expansion of abbreviation
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">title</code>
<td> <code title="attr-command-title"><a href="#attr-command-title">command</a></code>
<td> Hint describing the command
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">title</code>
<td> <code title="attr-link-title"><a href="#attr-link-title">link</a></code>
<td> Title of the link
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">title</code>
<td> <code title="attr-link-title"><a href="#attr-link-title">link</a></code>;
<code title="attr-style-title"><a href="#attr-style-title">style</a></code>
<td> Alternative style sheet set name
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">type</code>
<td> <code title="attr-hyperlink-type"><a href="#attr-hyperlink-type">a</a></code>;
<code title="attr-hyperlink-type"><a href="#attr-hyperlink-type">area</a></code>;
@@ -66563,7 +66568,7 @@
<td> <code title="attr-button-value"><a href="#attr-button-value">button</a></code>;
<code title="attr-option-value"><a href="#attr-option-value">option</a></code>
<td> Value to be used for <a href="#form-submission">form submission</a>
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">value</code>
<td> <code title="attr-input-value"><a href="#attr-input-value">input</a></code>
<td> Value of the form control
@@ -66580,7 +66585,7 @@
<tr><th> <code title="">value</code>
<td> <code title="attr-param-value"><a href="#attr-param-value">param</a></code>
<td> Value of parameter
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr><th> <code title="">width</code>
<td> <code title="attr-canvas-width"><a href="#attr-canvas-width">canvas</a></code>;
<code title="attr-dim-width"><a href="#attr-dim-width">embed</a></code>;
Received on Tuesday, 13 April 2010 09:54:30 UTC