Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Try to explain what 'text' means in the attribute table.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9493

git-svn-id: http://svn.whatwg.org/webapps@5035 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 13, 2010
1 parent c2b59d6 commit 5a857aa
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 76 deletions.
64 changes: 37 additions & 27 deletions complete.html
Expand Up @@ -363,7 +363,9 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
<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>
Expand Down Expand Up @@ -1085,7 +1087,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
<ol>
<li><a href=#start-tags><span class=secno>12.1.2.1 </span>Start tags</a></li>
<li><a href=#end-tags><span class=secno>12.1.2.2 </span>End tags</a></li>
<li><a href=#attributes><span class=secno>12.1.2.3 </span>Attributes</a></li>
<li><a href=#attributes-0><span class=secno>12.1.2.3 </span>Attributes</a></li>
<li><a href=#optional-tags><span class=secno>12.1.2.4 </span>Optional tags</a></li>
<li><a href=#element-restrictions><span class=secno>12.1.2.5 </span>Restrictions on content models</a></li>
<li><a href=#cdata-rcdata-restrictions><span class=secno>12.1.2.6 </span>Restrictions on the contents of raw text and RCDATA elements</a></ol></li>
Expand Down Expand Up @@ -1301,7 +1303,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
<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></ol></li>
<li><a class=no-num href=#references>References</a></li>
<li><a class=no-num href=#acknowledgements>Acknowledgements</a></ol>
Expand Down Expand Up @@ -9594,6 +9596,14 @@ <h4 id=element-definitions><span class=secno>3.2.4 </span>Element definitions</h
also included.</p>


<h5 id=attributes><span class=secno>3.2.4.1 </span>Attributes</h5>

<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.</p>



<h4 id=content-models><span class=secno>3.2.5 </span><dfn>Content models</dfn></h4>

Expand Down Expand Up @@ -73293,7 +73303,7 @@ <h5 id=start-tags><span class=secno>12.1.2.1 </span>Start tags</h5>
<li>Finally, end tags must be closed by a U+003E GREATER-THAN SIGN
character (&gt;).</li>

</ol><h5 id=attributes><span class=secno>12.1.2.3 </span>Attributes</h5>
</ol><h5 id=attributes-0><span class=secno>12.1.2.3 </span>Attributes</h5>

<p><dfn id=syntax-attributes title=syntax-attributes>Attributes</dfn> for an element
are expressed inside the element's start tag.</p>
Expand Down Expand Up @@ -87898,7 +87908,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<td>
&mdash;

</table><h3 class=no-num id=attributes-0>Attributes</h3>
</table><h3 class=no-num id=attributes-1>Attributes</h3>

<p><i>This section is non-normative.</i></p>

Expand Down Expand Up @@ -87928,7 +87938,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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
Expand All @@ -87954,7 +87964,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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>
Expand Down Expand Up @@ -87991,7 +88001,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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>
Expand Down Expand Up @@ -88142,15 +88152,15 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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
<td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<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
Expand Down Expand Up @@ -88180,14 +88190,14 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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
Expand Down Expand Up @@ -88257,11 +88267,11 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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>
Expand All @@ -88270,15 +88280,15 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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>
Expand Down Expand Up @@ -88306,7 +88316,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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
Expand All @@ -88325,7 +88335,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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>
Expand Down Expand Up @@ -88436,7 +88446,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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
Expand All @@ -88457,25 +88467,25 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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>;
Expand Down Expand Up @@ -88520,7 +88530,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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
Expand All @@ -88537,7 +88547,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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>;
Expand Down

0 comments on commit 5a857aa

Please sign in to comment.