- From: poot <cvsmail@w3.org>
- Date: Tue, 22 Sep 2009 12:52:34 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: More xreffing. (whatwg r3955) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3116&r2=1.3117&f=h http://html5.org/tools/web-apps-tracker?from=3954&to=3955 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3116 retrieving revision 1.3117 diff -u -d -r1.3116 -r1.3117 --- Overview.html 22 Sep 2009 01:38:28 -0000 1.3116 +++ Overview.html 22 Sep 2009 03:52:02 -0000 1.3117 @@ -55088,9 +55088,9 @@ 'about:legacy-compat'></code>, case-insensitively except for the bit in quotes.<p>The <a href="#doctype-legacy-string">DOCTYPE legacy string</a> should not be used unless the document is generated from a system that cannot output the - shorter string.<h4 id="elements-0"><span class="secno">9.1.2 </span>Elements</h4><p>There are five different kinds of <dfn id="syntax-elements" title="syntax-elements">elements</dfn>: void elements, raw text - elements, RCDATA elements, foreign elements, and normal - elements.<dl><dt><dfn id="void-elements">Void elements</dfn></dt> + shorter string.<h4 id="elements-0"><span class="secno">9.1.2 </span>Elements</h4><p>There are five different kinds of <dfn id="syntax-elements" title="syntax-elements">elements</dfn>: <a href="#void-elements">void elements</a>, + <a href="#raw-text-elements">raw text elements</a>, <a href="#rcdata-elements">RCDATA elements</a>, + <a href="#foreign-elements">foreign elements</a>, and <a href="#normal-elements">normal elements</a>.<dl><dt><dfn id="void-elements">Void elements</dfn></dt> <dd><code><a href="#the-area-element">area</a></code>, <code><a href="#the-base-element">base</a></code>, <code><a href="#the-br-element">br</a></code>, <code><a href="#the-col-element">col</a></code>, <code><a href="#the-command">command</a></code>, <code><a href="#the-embed-element">embed</a></code>, @@ -55098,36 +55098,39 @@ <code><a href="#the-keygen-element">keygen</a></code>, <code><a href="#the-link-element">link</a></code>, <code><a href="#meta">meta</a></code>, <code><a href="#the-param-element">param</a></code>, <code><a href="#the-source-element">source</a></code></dd> - <dt>Raw text elements</dt> + <dt><dfn id="raw-text-elements">Raw text elements</dfn></dt> <dd><code><a href="#script">script</a></code>, <code><a href="#the-style-element">style</a></code></dd> <!-- iframe and noscript don't count as raw text for syntax purposes --> - <dt>RCDATA elements</dt> + <dt><dfn id="rcdata-elements">RCDATA elements</dfn></dt> <dd><code><a href="#the-textarea-element">textarea</a></code>, <code><a href="#the-title-element-0">title</a></code></dd> - <dt>Foreign elements</dt> + <dt><dfn id="foreign-elements">Foreign elements</dfn></dt> <dd>Elements from the <a href="#mathml-namespace">MathML namespace</a> and the <a href="#svg-namespace">SVG namespace</a>.</dd> - <dt>Normal elements</dt> + <dt><dfn id="normal-elements">Normal elements</dfn></dt> <dd>All other allowed <a href="#html-elements">HTML elements</a> are normal elements.</dd> </dl><p><dfn id="syntax-tags" title="syntax-tags">Tags</dfn> are used to delimit the start - and end of elements in the markup. Raw text, RCDATA, and normal - elements have a <a href="#syntax-start-tag" title="syntax-start-tag">start tag</a> to - indicate where they begin, and an <a href="#syntax-end-tag" title="syntax-end-tag">end - tag</a> to indicate where they end. The start and end tags of - certain normal elements can be <a href="#syntax-tag-omission" title="syntax-tag-omission">omitted</a>, as described + and end of elements in the markup. <a href="#raw-text-elements" title="raw text + elements">Raw text</a>, <a href="#rcdata-elements" title="RCDATA + elements">RCDATA</a>, and <a href="#normal-elements" title="normal + elements">normal</a> elements have a <a href="#syntax-start-tag" title="syntax-start-tag">start tag</a> to indicate where they + begin, and an <a href="#syntax-end-tag" title="syntax-end-tag">end tag</a> to + indicate where they end. The start and end tags of certain + <a href="#normal-elements">normal elements</a> can be <a href="#syntax-tag-omission" title="syntax-tag-omission">omitted</a>, as described later. Those that cannot be omitted must not be omitted. <a href="#void-elements">Void elements</a> only have a start tag; end tags must not be - specified for void elements. Foreign elements must either have a - start tag and an end tag, or a start tag that is marked as - self-closing, in which case they must not have an end tag.<p>The contents of the element must be placed between just after the + specified for <a href="#void-elements">void elements</a>. <a href="#foreign-elements">Foreign + elements</a> must either have a start tag and an end tag, or a + start tag that is marked as self-closing, in which case they must + not have an end tag.<p>The contents of the element must be placed between just after the start tag (which <a href="#syntax-tag-omission" title="syntax-tag-omission">might be implied, in certain cases</a>) and just before the end tag (which again, <a href="#syntax-tag-omission" title="syntax-tag-omission">might be implied in certain @@ -55138,25 +55141,21 @@ the contents by those content models, however, the five types of elements have additional <em>syntactic</em> requirements.<p><a href="#void-elements">Void elements</a> can't have any contents (since there's no end tag, no content can be put between the start tag and the end - tag).<p>Raw text elements can have <a href="#syntax-text" title="syntax-text">text</a>, - though it has <a href="#cdata-rcdata-restrictions">restrictions</a> - described below.<p>RCDATA elements can have <a href="#syntax-text" title="syntax-text">text</a> - and <a href="#syntax-charref" title="syntax-charref">character references</a>, but - the text must not contain an <a href="#syntax-ambiguous-ampersand" title="syntax-ambiguous-ampersand">ambiguous ampersand</a>. + tag).<p><a href="#raw-text-elements">Raw text elements</a> can have <a href="#syntax-text" title="syntax-text">text</a>, though it has <a href="#cdata-rcdata-restrictions">restrictions</a> described + below.<p><a href="#rcdata-elements">RCDATA elements</a> can have <a href="#syntax-text" title="syntax-text">text</a> and <a href="#syntax-charref" title="syntax-charref">character references</a>, but the text + must not contain an <a href="#syntax-ambiguous-ampersand" title="syntax-ambiguous-ampersand">ambiguous ampersand</a>. There are also <a href="#cdata-rcdata-restrictions">further - restrictions</a> described below.<p>Foreign elements whose start tag is marked as self-closing can't - have any contents (since, again, as there's no end tag, no content - can be put between the start tag and the end tag). Foreign elements - whose start tag is <em>not</em> marked as self-closing can have - <a href="#syntax-text" title="syntax-text">text</a>, <a href="#syntax-charref" title="syntax-charref">character references</a>, <a href="#syntax-cdata" title="syntax-cdata">CDATA sections</a>, other <a href="#syntax-elements" title="syntax-elements">elements</a>, and <a href="#syntax-comments" title="syntax-comments">comments</a>, but the text must not + restrictions</a> described below.<p><a href="#foreign-elements">Foreign elements</a> whose start tag is marked as + self-closing can't have any contents (since, again, as there's no + end tag, no content can be put between the start tag and the end + tag). <a href="#foreign-elements">Foreign elements</a> whose start tag is <em>not</em> + marked as self-closing can have <a href="#syntax-text" title="syntax-text">text</a>, <a href="#syntax-charref" title="syntax-charref">character references</a>, <a href="#syntax-cdata" title="syntax-cdata">CDATA sections</a>, other <a href="#syntax-elements" title="syntax-elements">elements</a>, and <a href="#syntax-comments" title="syntax-comments">comments</a>, but the text must not contain the character U+003C LESS-THAN SIGN (<code><</code>) or an <a href="#syntax-ambiguous-ampersand" title="syntax-ambiguous-ampersand">ambiguous - ampersand</a>.<p>Normal elements can have <a href="#syntax-text" title="syntax-text">text</a>, - <a href="#syntax-charref" title="syntax-charref">character references</a>, other - <a href="#syntax-elements" title="syntax-elements">elements</a>, and <a href="#syntax-comments" title="syntax-comments">comments</a>, but the text must not + ampersand</a>.<p><a href="#normal-elements">Normal elements</a> can have <a href="#syntax-text" title="syntax-text">text</a>, <a href="#syntax-charref" title="syntax-charref">character references</a>, other <a href="#syntax-elements" title="syntax-elements">elements</a>, and <a href="#syntax-comments" title="syntax-comments">comments</a>, but the text must not contain the character U+003C LESS-THAN SIGN (<code><</code>) or an <a href="#syntax-ambiguous-ampersand" title="syntax-ambiguous-ampersand">ambiguous - ampersand</a>. Some normal elements also have <a href="#element-restrictions">yet more restrictions</a> on what + ampersand</a>. Some <a href="#normal-elements">normal elements</a> also have <a href="#element-restrictions">yet more restrictions</a> on what content they are allowed to hold, beyond the restrictions imposed by the content model and those described in this paragraph. Those restrictions are described below.<p>Tags contain a <dfn id="syntax-tag-name" title="syntax-tag-name">tag name</dfn>, @@ -55185,10 +55184,11 @@ are required to be followed by a space. See the <a href="#syntax-attributes" title="syntax-attributes">attributes section</a> below.)</li> <li>Then, if the element is one of the <a href="#void-elements">void elements</a>, - or if the element is a foreign element, then there may be a single - U+002F SOLIDUS (<code>/</code>) character. This character has no - effect on void elements, but on foreign elements it marks the start - tag as self-closing.</li> + or if the element is a <a href="#foreign-elements" title="foreign elements">foreign + element</a>, then there may be a single U+002F SOLIDUS + (<code>/</code>) character. This character has no effect on + <a href="#void-elements">void elements</a>, but on <a href="#foreign-elements">foreign elements</a> it + marks the start tag as self-closing.</li> <li>Finally, start tags must be closed by a U+003E GREATER-THAN SIGN (<code>></code>) character.</li> @@ -55454,9 +55454,10 @@ <p>The following two <code><a href="#the-pre-element">pre</a></code> blocks are equivalent:</p> <pre><pre>Hello</pre></pre> <pre><pre><br>Hello</pre></pre> - </div><h5 id="cdata-rcdata-restrictions"><span class="secno">9.1.2.6 </span>Restrictions on the contents of raw text and RCDATA elements</h5><p>The text in raw text and RCDATA elements must not contain any - occurrences of the string "<code title=""></</code>" (U+003C - LESS-THAN SIGN, U+002F SOLIDUS) followed by characters that + </div><h5 id="cdata-rcdata-restrictions"><span class="secno">9.1.2.6 </span>Restrictions on the contents of raw text and RCDATA elements</h5><p>The text in <a href="#raw-text-elements" title="raw text elements">raw text</a> and + <a href="#rcdata-elements" title="RCDATA elements">RCDATAs</a> element must not + contain any occurrences of the string "<code title=""></</code>" + (U+003C LESS-THAN SIGN, U+002F SOLIDUS) followed by characters that case-insensitively match the tag name of the element followed by one of U+0009 CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF), U+000D CARRIAGE RETURN (CR), U+0020 SPACE, U+003E @@ -55479,10 +55480,10 @@ HYPHEN-MINUS, U+002D HYPHEN-MINUS, U+003E GREATER-THAN SIGN).<p>An <a href="#syntax-escape-start" title="syntax-escape-start">escaping text span start</a> may share its U+002D HYPHEN-MINUS characters with its corresponding <a href="#syntax-escape-end" title="syntax-escape-end">escaping text span - end</a>.<p>The text in raw text elements and RCDATA elements must not have - an <a href="#syntax-escape-start" title="syntax-escape-start">escaping text span start</a> - that is not followed by an <a href="#syntax-escape-end" title="syntax-escape-end">escaping - text span end</a>.<h4 id="text-0"><span class="secno">9.1.3 </span>Text</h4><p><dfn id="syntax-text" title="syntax-text">Text</dfn> is allowed inside elements, + end</a>.<p>The text in <a href="#raw-text-elements">raw text elements</a> and <a href="#rcdata-elements">RCDATA + elements</a> must not have an <a href="#syntax-escape-start" title="syntax-escape-start">escaping text span start</a> that is + not followed by an <a href="#syntax-escape-end" title="syntax-escape-end">escaping text + span end</a>.<h4 id="text-0"><span class="secno">9.1.3 </span>Text</h4><p><dfn id="syntax-text" title="syntax-text">Text</dfn> is allowed inside elements, attributes, and comments. Text must consist of Unicode characters. Text must not contain U+0000 characters. Text must not contain permanently undefined Unicode characters (noncharacters). Text must
Received on Tuesday, 22 September 2009 03:53:12 UTC