- From: poot <cvsmail@w3.org>
- Date: Mon, 3 Aug 2009 16:01:09 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Text explaining what the element definitions mean and stating that some parts of those definitions are normative. (whatwg r3527) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2724&r2=1.2725&f=h http://html5.org/tools/web-apps-tracker?from=3526&to=3527 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2724 retrieving revision 1.2725 diff -u -d -r1.2724 -r1.2725 --- Overview.html 3 Aug 2009 03:24:49 -0000 1.2724 +++ Overview.html 3 Aug 2009 07:00:44 -0000 1.2725 @@ -403,30 +403,31 @@ <li><a href="#the-dir-attribute"><span class="secno">3.3.3.5 </span>The <code>dir</code> attribute</a></li> <li><a href="#classes"><span class="secno">3.3.3.6 </span>The <code>class</code> attribute</a></li> <li><a href="#the-style-attribute"><span class="secno">3.3.3.7 </span>The <code>style</code> attribute</a></li> - <li><a href="#embedding-custom-non-visible-data"><span class="secno">3.3.3.8 </span>Embedding custom non-visible data</a></ol></ol></li> - <li><a href="#content-models"><span class="secno">3.4 </span>Content models</a> - <ol> - <li><a href="#kinds-of-content"><span class="secno">3.4.1 </span>Kinds of content</a> + <li><a href="#embedding-custom-non-visible-data"><span class="secno">3.3.3.8 </span>Embedding custom non-visible data</a></ol></li> + <li><a href="#element-definitions"><span class="secno">3.3.4 </span>Element definitions</a></li> + <li><a href="#content-models"><span class="secno">3.3.5 </span>Content models</a> <ol> - <li><a href="#metadata-content"><span class="secno">3.4.1.1 </span>Metadata content</a></li> - <li><a href="#flow-content"><span class="secno">3.4.1.2 </span>Flow content</a></li> - <li><a href="#sectioning-content"><span class="secno">3.4.1.3 </span>Sectioning content</a></li> - <li><a href="#heading-content"><span class="secno">3.4.1.4 </span>Heading content</a></li> - <li><a href="#phrasing-content"><span class="secno">3.4.1.5 </span>Phrasing content</a></li> - <li><a href="#embedded-content"><span class="secno">3.4.1.6 </span>Embedded content</a></li> - <li><a href="#interactive-content"><span class="secno">3.4.1.7 </span>Interactive content</a></ol></li> - <li><a href="#transparent-content-models"><span class="secno">3.4.2 </span>Transparent content models</a></ol></li> - <li><a href="#paragraphs"><span class="secno">3.5 </span>Paragraphs</a></li> - <li><a href="#apis-in-html-documents"><span class="secno">3.6 </span>APIs in HTML documents</a></li> - <li><a href="#interactions-with-xpath-and-xslt"><span class="secno">3.7 </span>Interactions with XPath and XSLT</a></li> - <li><a href="#dynamic-markup-insertion"><span class="secno">3.8 </span>Dynamic markup insertion</a> + <li><a href="#kinds-of-content"><span class="secno">3.3.5.1 </span>Kinds of content</a> + <ol> + <li><a href="#metadata-content"><span class="secno">3.3.5.1.1 </span>Metadata content</a></li> + <li><a href="#flow-content"><span class="secno">3.3.5.1.2 </span>Flow content</a></li> + <li><a href="#sectioning-content"><span class="secno">3.3.5.1.3 </span>Sectioning content</a></li> + <li><a href="#heading-content"><span class="secno">3.3.5.1.4 </span>Heading content</a></li> + <li><a href="#phrasing-content"><span class="secno">3.3.5.1.5 </span>Phrasing content</a></li> + <li><a href="#embedded-content"><span class="secno">3.3.5.1.6 </span>Embedded content</a></li> + <li><a href="#interactive-content"><span class="secno">3.3.5.1.7 </span>Interactive content</a></ol></li> + <li><a href="#transparent-content-models"><span class="secno">3.3.5.2 </span>Transparent content models</a></li> + <li><a href="#paragraphs"><span class="secno">3.3.5.3 </span>Paragraphs</a></ol></ol></li> + <li><a href="#apis-in-html-documents"><span class="secno">3.4 </span>APIs in HTML documents</a></li> + <li><a href="#interactions-with-xpath-and-xslt"><span class="secno">3.5 </span>Interactions with XPath and XSLT</a></li> + <li><a href="#dynamic-markup-insertion"><span class="secno">3.6 </span>Dynamic markup insertion</a> <ol> - <li><a href="#controlling-the-input-stream"><span class="secno">3.8.1 </span>Controlling the input stream</a></li> - <li><a href="#document.write"><span class="secno">3.8.2 </span><code title="dom-document-write">document.write()</code></a></li> - <li><a href="#document.writeln"><span class="secno">3.8.3 </span><code title="dom-document-writeln">document.writeln()</code></a></li> - <li><a href="#innerhtml"><span class="secno">3.8.4 </span><code title="dom-innerHTML">innerHTML</code></a></li> - <li><a href="#outerhtml"><span class="secno">3.8.5 </span><code title="dom-outerHTML">outerHTML</code></a></li> - <li><a href="#insertadjacenthtml"><span class="secno">3.8.6 </span><code title="dom-insertAdjacentHTML">insertAdjacentHTML()</code></a></ol></ol></li> + <li><a href="#controlling-the-input-stream"><span class="secno">3.6.1 </span>Controlling the input stream</a></li> + <li><a href="#document.write"><span class="secno">3.6.2 </span><code title="dom-document-write">document.write()</code></a></li> + <li><a href="#document.writeln"><span class="secno">3.6.3 </span><code title="dom-document-writeln">document.writeln()</code></a></li> + <li><a href="#innerhtml"><span class="secno">3.6.4 </span><code title="dom-innerHTML">innerHTML</code></a></li> + <li><a href="#outerhtml"><span class="secno">3.6.5 </span><code title="dom-outerHTML">outerHTML</code></a></li> + <li><a href="#insertadjacenthtml"><span class="secno">3.6.6 </span><code title="dom-insertAdjacentHTML">insertAdjacentHTML()</code></a></ol></ol></li> <li><a href="#semantics"><span class="secno">4 </span>The elements of HTML</a> <ol> <li><a href="#the-root-element"><span class="secno">4.1 </span>The root element</a> @@ -7276,7 +7277,43 @@ these attributes or values. Specifications intended for user agents must not define these attributes to have any meaningful values.</p> - </div><h3 id="content-models"><span class="secno">3.4 </span>Content models</h3><p>All the elements in this specification have a defined content + </div><h4 id="element-definitions"><span class="secno">3.3.4 </span>Element definitions</h4><p>Each element in this specification has a definition that includes + the following information:<dl><dt>Categories</dt> + + <dd>A list of <a href="#content-categories" title="content categories">categories</a> to + which the element belongs. These are used when defining the + <a href="#content-models">content models</a> for each element.</dd> + + + <dt>Contexts in which this element may be used</dt> + + <dd>A <em>non-normative</em> description of where the element can + be used. This information is redundant with the content models of + elements that allow this one as a child, and is provided only as a + convenience.</dd> + + + <dt>Content model</dt> + + <dd>A normative description of what content must be included as + children and descendants of the element.</dd> + + + <dt>Content attributes</dt> + + <dd>A normative list of attributes that may be specified on the + element.</dd> + + + <dt>DOM interface</dt> + + <dd>A normative definition of a DOM interface that such elements + must implement.</dd> + + </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.3.5 </span><dfn>Content models</dfn></h4><p>All the elements in this specification have a defined content model, which describes what nodes are allowed inside the elements, and thus what the structure of an HTML document or fragment must look like.<p class="note">As noted in the conformance and terminology @@ -7320,24 +7357,24 @@ cell: document.createElement('td'), };</pre> - </div><h4 id="kinds-of-content"><span class="secno">3.4.1 </span>Kinds of content</h4><p>Each element in HTML falls into zero or more categories that - group elements with similar characteristics together. The following - broad categories are used in this specification:<ul class="brief"><li><a href="#metadata-content-0">Metadata content</a></li> + </div><h5 id="kinds-of-content"><span class="secno">3.3.5.1 </span>Kinds of content</h5><p>Each element in HTML falls into zero or more <dfn id="content-categories" title="content + categories">categories</dfn> that group elements with similar + characteristics together. The following broad categories are used in + this specification:<ul class="brief"><li><a href="#metadata-content-0">Metadata content</a></li> <li><a href="#flow-content-0">Flow content</a></li> <li><a href="#sectioning-content-0">Sectioning content</a></li> <li><a href="#heading-content-0">Heading content</a></li> <li><a href="#phrasing-content-0">Phrasing content</a></li> <li><a href="#embedded-content-2">Embedded content</a></li> <li><a href="#interactive-content-0">Interactive content</a></li> - </ul><p>These categories are related as follows: - - <p><object data="images/content-venn.svg" height="288" width="512"><img alt="Sectioning content, heading content, phrasing content, and + </ul><p class="note">Some elements also fall into other categories, which + are defined in other parts of this specification.<p>These categories are related as follows:<p><object data="images/content-venn.svg" height="288" width="512"><img alt="Sectioning content, heading content, phrasing content, and embedded content are all types of flow content. Embedded content is also a type of phrasing content." src="images/content-venn.png"></object><p>In addition, certain elements are categorized as <a href="#form-associated-element" title="form-associated element">form-associated elements</a> and further subcategorized to define their role in various form-related processing models.</p><!-- XXX list all the elements for each kind of element in the sections below and in a summary table at the end of the document --><p>Some elements have unique requirements and do not fit into any - particular category.<h5 id="metadata-content"><span class="secno">3.4.1.1 </span>Metadata content</h5><p><dfn id="metadata-content-0">Metadata content</dfn> is content that sets up the + particular category.<h6 id="metadata-content"><span class="secno">3.3.5.1.1 </span>Metadata content</h6><p><dfn id="metadata-content-0">Metadata content</dfn> is content that sets up the presentation or behavior of the rest of the content, or that sets up the relationship of the document with other documents, or that conveys other "out of band" information.<ul class="brief category-list"><li><code><a href="#the-base-element">base</a></code></li> @@ -7376,7 +7413,7 @@ <p>This isn't possible in the HTML serialization, however.</p> - </div><h5 id="flow-content"><span class="secno">3.4.1.2 </span>Flow content</h5><p>Most elements that are used in the body of documents and + </div><h6 id="flow-content"><span class="secno">3.3.5.1.2 </span>Flow content</h6><p>Most elements that are used in the body of documents and applications are categorized as <dfn id="flow-content-0">flow content</dfn>.<ul class="brief category-list"><li><code><a href="#the-a-element">a</a></code></li> <li><code><a href="#the-abbr-element">abbr</a></code></li> <li><code><a href="#the-address-element">address</a></code></li> @@ -7471,7 +7508,7 @@ many cases where an element can be empty legitimately, for example when it is used as a placeholder which will later be filled in by a script, or when the element is part of a template and would on most - pages be filled in but on some pages is not relevant.<h5 id="sectioning-content"><span class="secno">3.4.1.3 </span>Sectioning content</h5><p><dfn id="sectioning-content-0">Sectioning content</dfn> is content that defines the scope + pages be filled in but on some pages is not relevant.<h6 id="sectioning-content"><span class="secno">3.3.5.1.3 </span>Sectioning content</h6><p><dfn id="sectioning-content-0">Sectioning content</dfn> is content that defines the scope of <a href="#heading-content-0" title="heading content">headings</a> and <a href="#the-footer-element" title="footer">footers</a>.<ul class="brief category-list"><li><code><a href="#the-article-element">article</a></code></li> <li><code><a href="#the-aside-element">aside</a></code></li> <li><code><a href="#the-nav-element">nav</a></code></li> @@ -7480,7 +7517,7 @@ heading and an <a href="#outline">outline</a>. See the section on <a href="#headings-and-sections">headings and sections</a> for further details.<p class="note">There are also certain elements that are <a href="#sectioning-root" title="sectioning root">sectioning roots</a>. These are distinct from <a href="#sectioning-content-0">sectioning content</a>, but they can also have an - <a href="#outline">outline</a>.<h5 id="heading-content"><span class="secno">3.4.1.4 </span>Heading content</h5><p><dfn id="heading-content-0">Heading content</dfn> defines the header of a section + <a href="#outline">outline</a>.<h6 id="heading-content"><span class="secno">3.3.5.1.4 </span>Heading content</h6><p><dfn id="heading-content-0">Heading content</dfn> defines the header of a section (whether explicitly marked up using <a href="#sectioning-content-0">sectioning content</a> elements, or implied by the heading content itself).<ul class="brief category-list"><li><code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code></li> <li><code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h2</a></code></li> @@ -7489,7 +7526,7 @@ <li><code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h5</a></code></li> <li><code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h6</a></code></li> <li><code><a href="#the-hgroup-element">hgroup</a></code></li> - </ul><h5 id="phrasing-content"><span class="secno">3.4.1.5 </span>Phrasing content</h5><p><dfn id="phrasing-content-0">Phrasing content</dfn> is the text of the document, as well + </ul><h6 id="phrasing-content"><span class="secno">3.3.5.1.5 </span>Phrasing content</h6><p><dfn id="phrasing-content-0">Phrasing content</dfn> is the text of the document, as well as elements that mark up that text at the intra-paragraph level. Runs of <a href="#phrasing-content-0">phrasing content</a> form <a href="#paragraph" title="paragraph">paragraphs</a>.<ul class="brief category-list"><li><code><a href="#the-a-element">a</a></code> (if it contains only <a href="#phrasing-content-0">phrasing content</a>)</li> <li><code><a href="#the-abbr-element">abbr</a></code></li> @@ -7557,7 +7594,7 @@ model on its own, but is also <a href="#phrasing-content-0">phrasing content</a>, and can be <a href="#inter-element-whitespace">inter-element whitespace</a> (if the <a href="#text-node" title="text node">text nodes</a> are empty or contain just <a href="#space-character" title="space - character">space characters</a>).<h5 id="embedded-content"><span class="secno">3.4.1.6 </span>Embedded content</h5><p><dfn id="embedded-content-2">Embedded content</dfn> is content that imports another + character">space characters</a>).<h6 id="embedded-content"><span class="secno">3.3.5.1.6 </span>Embedded content</h6><p><dfn id="embedded-content-2">Embedded content</dfn> is content that imports another resource into the document, or content from another vocabulary that is inserted into the document.<ul class="brief category-list"><li><code><a href="#audio">audio</a></code></li> <li><code><a href="#the-canvas-element">canvas</a></code></li> @@ -7574,7 +7611,7 @@ defined in this specification. (For example, MathML, or SVG.)<p>Some embedded content elements can have <dfn id="fallback-content">fallback content</dfn>: content that is to be used when the external resource cannot be used (e.g. because it is of an unsupported format). The - element definitions state what the fallback is, if any.<h5 id="interactive-content"><span class="secno">3.4.1.7 </span>Interactive content</h5><!-- + element definitions state what the fallback is, if any.<h6 id="interactive-content"><span class="secno">3.3.5.1.7 </span>Interactive content</h6><!-- TESTS: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0A%3Cp%20tabindex%3D1%3Etest%20%3Ca%20href%3D%22%22%3E%20%3Cem%3Etest%3C/em%3E%20%3C/a%3E%0A%3Cscript%3E%0A%20function%20test%20%28e%29%20%7B%20w%28e.type%20+%20%27%20on%20%27%20+%20e.target.tagName%20+%20%27%20through%20%27%20+%20e.currentTarget.tagName%29%3B%20%7D%0A%20document.getElementsByTagName%28%27a%27%29%5B0%5D.addEventListener%28%27click%27%2C%20test%2C%20false%29%3B%0A%20document.getElementsByTagName%28%27a%27%29%5B0%5D.addEventListener%28%27DOMActivate%27%2C%20test%2C%20false%29%3B%0A%20document.getElementsByTagName%28%27p%27%29%5B0%5D.addEventListener%28%27click%27%2C%20test%2C%20false%29%3B%0A%20document.getElementsByTagName%28%27p%27%29%5B0%5D.addEventListener%28%27DOMActivate%27%2C%20test%2C%20false%29%3B%0A%3C/script%3E%0A http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0A%3Ca%20href%3Dhttp%3A//google.com/%20target%3Da%3EA%3C/a%3E%3Ca%20href%3Dhttp%3A//yahoo.com/%20target%3Db%3EB%3C/a%3E%3Cbr%3E%0A%3Ciframe%20name%3Da%3E%3C/iframe%3E%3Ciframe%20name%3Db%3E%3C/iframe%3E%0A%3Cscript%3E%0A%20var%20a%20%3D%20document.getElementsByTagName%28%27a%27%29%5B0%5D%3B%0A%20var%20b%20%3D%20document.getElementsByTagName%28%27a%27%29%5B1%5D%3B%0A%20a.appendChild%28b%29%3B%0A%3C/script%3E @@ -7685,14 +7722,14 @@ for that element. Activation behaviors can refer to the <code title="event-click">click</code> and <code title="event-DOMActivate">DOMActivate</code> events that were fired by the steps above leading up to this point.</p> - </div><h4 id="transparent-content-models"><span class="secno">3.4.2 </span>Transparent content models</h4><p>Some elements are described as <dfn id="transparent">transparent</dfn>; they have + </div><h5 id="transparent-content-models"><span class="secno">3.3.5.2 </span>Transparent content models</h5><p>Some elements are described as <dfn id="transparent">transparent</dfn>; they have "transparent" in the description of their content model.<p>When a content model includes a part that is "transparent", those parts must not contain content that would not be conformant if all transparent elements in the tree were replaced, in their parent element, by the children in the "transparent" part of their content model, retaining order.<p>When a transparent element has no parent, then the part of its content model that is "transparent" must instead be treated as - accepting any <a href="#flow-content-0">flow content</a>.<h3 id="paragraphs"><span class="secno">3.5 </span>Paragraphs</h3><p class="note">The term <a href="#paragraph">paragraph</a> as defined in this + accepting any <a href="#flow-content-0">flow content</a>.<h5 id="paragraphs"><span class="secno">3.3.5.3 </span>Paragraphs</h5><p class="note">The term <a href="#paragraph">paragraph</a> as defined in this section is distinct from (though related to) the <code><a href="#the-p-element">p</a></code> element defined later. The <a href="#paragraph">paragraph</a> concept defined here is used to describe how to interpret documents.<p>A <dfn id="paragraph">paragraph</dfn> is typically a run of <a href="#phrasing-content-0">phrasing @@ -7845,7 +7882,7 @@ <p>To avoid this confusion, explicit <code><a href="#the-p-element">p</a></code> elements can be used.</p> - </div><h3 id="apis-in-html-documents"><span class="secno">3.6 </span>APIs in HTML documents</h3><p>For <a href="#html-documents">HTML documents</a>, and for <a href="#html-elements">HTML + </div><h3 id="apis-in-html-documents"><span class="secno">3.4 </span>APIs in HTML documents</h3><p>For <a href="#html-documents">HTML documents</a>, and for <a href="#html-elements">HTML elements</a> in <a href="#html-documents">HTML documents</a>, certain APIs defined in DOM3 Core become case-insensitive or case-changing, as sometimes defined in DOM3 Core, and as summarized <span class="impl">or @@ -7953,7 +7990,7 @@ </dl><div class="impl"> - <h3 id="interactions-with-xpath-and-xslt"><span class="secno">3.7 </span>Interactions with XPath and XSLT</h3> + <h3 id="interactions-with-xpath-and-xslt"><span class="secno">3.5 </span>Interactions with XPath and XSLT</h3> <p id="xpath-1.0-processors">Implementations of XPath 1.0 that operate on HTML documents parsed or created in the manners described @@ -7997,11 +8034,11 @@ unaffected.) <a href="#references">[XSLT10]</a></p> <!-- note: version matters for this ref --> - </div><h3 id="dynamic-markup-insertion"><span class="secno">3.8 </span><dfn>Dynamic markup insertion</dfn></h3><p class="note">APIs for dynamically inserting markup into the + </div><h3 id="dynamic-markup-insertion"><span class="secno">3.6 </span><dfn>Dynamic markup insertion</dfn></h3><p class="note">APIs for dynamically inserting markup into the document interact with the parser, and thus their behavior, varies depending on whether they are used with <a href="#html-documents">HTML documents</a> (and the <a href="#html-parser">HTML parser</a>) or XHTML in <a href="#xml-documents">XML - documents</a> (and the <a href="#xml-parser">XML parser</a>).<h4 id="controlling-the-input-stream"><span class="secno">3.8.1 </span>Controlling the input stream</h4><p>The <dfn id="dom-document-open" title="dom-document-open"><code>open()</code></dfn> + documents</a> (and the <a href="#xml-parser">XML parser</a>).<h4 id="controlling-the-input-stream"><span class="secno">3.6.1 </span>Controlling the input stream</h4><p>The <dfn id="dom-document-open" title="dom-document-open"><code>open()</code></dfn> method comes in several variants with different numbers of arguments.<dl class="domintro"><dt><var title="">document</var> = <var title="">document</var> . <code title="dom-document-open"><a href="#dom-document-open">open</a></code>( [ <var title="">type</var> [, <var title="">replace</var> ] ] )</dt> @@ -8201,7 +8238,7 @@ an <a href="#explicit-eof-character">explicit "EOF" character</a> at the end of the parser's <a href="#the-input-stream">input stream</a>.</p> - </div><h4 id="document.write"><span class="secno">3.8.2 </span><code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code></h4><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-write"><a href="#dom-document-write">write</a></code>(<var title="">text</var>...)</dt> + </div><h4 id="document.write"><span class="secno">3.6.2 </span><code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code></h4><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-write"><a href="#dom-document-write">write</a></code>(<var title="">text</var>...)</dt> <dd> @@ -8282,7 +8319,7 @@ </li> - </ol></div><h4 id="document.writeln"><span class="secno">3.8.3 </span><code title="dom-document-writeln"><a href="#dom-document-writeln">document.writeln()</a></code></h4><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-writeln"><a href="#dom-document-writeln">writeln</a></code>(<var title="">text</var>...)</dt> + </ol></div><h4 id="document.writeln"><span class="secno">3.6.3 </span><code title="dom-document-writeln"><a href="#dom-document-writeln">document.writeln()</a></code></h4><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-writeln"><a href="#dom-document-writeln">writeln</a></code>(<var title="">text</var>...)</dt> <dd> @@ -8303,7 +8340,7 @@ invoked with the same argument(s), plus an extra argument consisting of a string containing a single line feed character (U+000A).</p> - </div><h4 id="innerhtml"><span class="secno">3.8.4 </span><code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code></h4><p>The <dfn id="dom-innerhtml" title="dom-innerHTML"><code>innerHTML</code></dfn> DOM + </div><h4 id="innerhtml"><span class="secno">3.6.4 </span><code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code></h4><p>The <dfn id="dom-innerhtml" title="dom-innerHTML"><code>innerHTML</code></dfn> DOM attribute represents the markup of the node's contents.<dl class="domintro"><dt><var title="">document</var> . <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> [ = <var title="">value</var> ]</dt> <dd> @@ -8455,7 +8492,7 @@ </li> - </ol></div><h4 id="outerhtml"><span class="secno">3.8.5 </span><code title="dom-outerHTML"><a href="#dom-outerhtml">outerHTML</a></code></h4><p>The <dfn id="dom-outerhtml" title="dom-outerHTML"><code>outerHTML</code></dfn> DOM + </ol></div><h4 id="outerhtml"><span class="secno">3.6.5 </span><code title="dom-outerHTML"><a href="#dom-outerhtml">outerHTML</a></code></h4><p>The <dfn id="dom-outerhtml" title="dom-outerHTML"><code>outerHTML</code></dfn> DOM attribute represents the markup of the element and its contents.<dl class="domintro"><dt><var title="">element</var> . <code title="dom-outerHTML"><a href="#dom-outerhtml">outerHTML</a></code> [ = <var title="">value</var> ]</dt> <dd> @@ -8554,7 +8591,7 @@ </li> - </ol></div><h4 id="insertadjacenthtml"><span class="secno">3.8.6 </span><code title="dom-insertAdjacentHTML"><a href="#dom-insertadjacenthtml">insertAdjacentHTML()</a></code></h4><dl class="domintro"><dt><var title="">element</var> . <code title="dom-insertAdjacentHTML"><a href="#dom-insertadjacenthtml">insertAdjacentHTML</a></code>(<var title="">position</var>, <var title="">text</var>)</dt> + </ol></div><h4 id="insertadjacenthtml"><span class="secno">3.6.6 </span><code title="dom-insertAdjacentHTML"><a href="#dom-insertadjacenthtml">insertAdjacentHTML()</a></code></h4><dl class="domintro"><dt><var title="">element</var> . <code title="dom-insertAdjacentHTML"><a href="#dom-insertadjacenthtml">insertAdjacentHTML</a></code>(<var title="">position</var>, <var title="">text</var>)</dt> <dd> @@ -30008,7 +30045,6 @@ <li><p>If the method invoked was the <code title="dom-input-stepDown"><a href="#dom-input-stepdown">stepDown()</a></code> method, negate <var title="">delta</var>.</li> <li><p>Let <var title="">value</var> be the result of adding <var title="">delta</var> to <var title="">value</var>.</li> - <li><p>If the element has a <a href="#concept-input-min" title="concept-input-min">minimum</a>, and the <var title="">value</var> is less than that <a href="#concept-input-min" title="concept-input-min">minimum</a>, then throw a <code><a href="#invalid_access_err">INVALID_ACCESS_ERR</a></code> exception.</li>
Received on Monday, 3 August 2009 07:01:47 UTC