html5/spec Overview.html,1.1474,1.1475

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv6460

Modified Files:
	Overview.html 
Log Message:
WF2: Oops, <textarea> parsing wasn't fixed when it should have been. Also, WF2: textarea.defaultValue should just be a synonym for textarea.textContent, if I'm not mistaken. (whatwg r2302)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1474
retrieving revision 1.1475
diff -u -d -r1.1474 -r1.1475
--- Overview.html	8 Oct 2008 05:05:23 -0000	1.1474
+++ Overview.html	8 Oct 2008 07:51:45 -0000	1.1475
@@ -21506,9 +21506,7 @@
 };</pre>
    </dd> 
   </dl><!-- XXX add selectionStart and company --><p>The <code><a href=#the-textarea-element>textarea</a></code> element represents a multiline plain
-  text edit control for the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.<p class=XXX> ... <dfn id=concept-textarea-defaultvalue title=concept-textarea-defaultValue>default value</dfn>
-
-  <p class=XXX> ... <dfn id=attr-textarea-readonly title=attr-textarea-readonly><code>readonly</code></dfn>
+  text edit control for the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.<p class=XXX> ... <dfn id=attr-textarea-readonly title=attr-textarea-readonly><code>readonly</code></dfn>
   <p class=XXX> ... <dfn id=concept-textarea-mutable title=concept-textarea-mutable>mutable</dfn></p><!-- !disabled && !readonly --><p><strong>Constraint validation:</strong> If the <code title=attr-textarea-readonly><a href=#attr-textarea-readonly>readonly</a></code> attribute is
   specified on a <code><a href=#the-textarea-element>textarea</a></code> element, the element is
   <a href=#barred-from-constraint-validation>barred from constraint validation</a>.<p class=XXX> ... <dfn id=attr-textarea-maxlength title=attr-textarea-maxlength><code>maxlength</code></dfn>
@@ -21536,9 +21534,8 @@
   DOM attribute must <a href=#reflect>reflect</a> the <code title=attr-textarea-readonly><a href=#attr-textarea-readonly>readonly</a></code> content
   attribute.<p>The <dfn id=dom-textarea-type title=dom-textarea-type><code>type</code></dfn> DOM
   attribute must return the value "<code title="">textarea</code>".<p>The <dfn id=dom-textarea-defaultvalue title=dom-textarea-defaultValue><code>defaultValue</code></dfn>
-  DOM attribute must return the element's <a href=#concept-textarea-defaultvalue title=concept-textarea-defaultValue>default value</a>; on
-  setting, it must set the element's <a href=#concept-textarea-defaultvalue title=concept-textarea-defaultValue>default value</a> to the
-  new value.<p>The <dfn id=dom-textarea-value title=dom-textarea-value><code>value</code></dfn>
+  DOM attribute must act like the element's <code><a href=#textcontent>textContent</a></code>
+  DOM attribute.<p>The <dfn id=dom-textarea-value title=dom-textarea-value><code>value</code></dfn>
   attribute must, on getting, return the element's <a href=#concept-fe-value title=concept-fe-value>value</a>; on setting, it must set the
   element's <a href=#concept-fe-value title=concept-fe-value>value</a> to the new
   value.<p>The <code title=dom-cva-willValidate><a href=#dom-cva-willvalidate>willValidate</a></code>, <code title=dom-cva-validity><a href=#dom-cva-validity>validity</a></code>, and <code title=dom-cva-validationMessage><a href=#dom-cva-validationmessage>validationMessage</a></code>
@@ -37441,7 +37438,8 @@
      <code><a href=#script>script</a></code> element as <a href=#already-executed>"already
      executed"</a>. (<a href=#fragment-case>fragment case</a>)</li>
 
-     <li><p>Append the new element to the <a href=#current-node>current node</a>.</p>
+     <li><p>Append the new element to the <a href=#current-node>current
+     node</a>.</li>
 
      <li><p>Switch the tokeniser's <a href=#content-model-flag>content model flag</a> to
      the CDATA state.</li>
@@ -38565,41 +38563,35 @@
    <dt>A start tag whose tag name is "textarea"</dt>
    <dd>
 
-    <p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML
-    namespace</a>. Append the new element to the <a href=#current-node>current
-    node</a>.</p>
-
-    <p>If the <a href=#form-element-pointer><code title="">form</code> element pointer</a>
-    is not null and the newly created element doesn't have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, then <a href=#concept-form-association title=concept-form-association>associate</a> the newly
-    created <code><a href=#the-textarea-element>textarea</a></code> element with the <code><a href=#the-form-element>form</a></code>
-    element pointed to by the <a href=#form-element-pointer><code title="">form</code> element
-    pointer</a>.</p>
+    <ol><li><p><a href=#insert-an-html-element>Insert an HTML element</a> for the
+     token.</li>
 
-    <p>Switch the tokeniser's <a href=#content-model-flag>content model flag</a> to
-    the RCDATA state.</p>
+     <li><p>If the <a href=#form-element-pointer><code title="">form</code> element
+     pointer</a> is not null and the newly created element doesn't
+     have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, then
+     <a href=#concept-form-association title=concept-form-association>associate</a> the newly
+     created <code><a href=#the-textarea-element>textarea</a></code> element with the <code><a href=#the-form-element>form</a></code>
+     element pointed to by the <a href=#form-element-pointer><code title="">form</code>
+     element pointer</a>.</li>
 
-    <p>If the next token is a U+000A LINE FEED (LF) character
-    token, then ignore that token and move on to the next
-    one. (Newlines at the start of <code><a href=#the-textarea-element>textarea</a></code> elements
-    are ignored as an authoring convenience.)</p>
+     <li><p>If the next token is a U+000A LINE FEED (LF) character
+     token, then ignore that token and move on to the next
+     one. (Newlines at the start of <code><a href=#the-textarea-element>textarea</a></code> elements are
+     ignored as an authoring convenience.)</li>
 
-    <p>Then, collect all the character tokens that the tokeniser
-    returns until it returns a token that is not a character
-    token, or until it stops tokenizing.</p>
+     <li><p>Append the new element to the <a href=#current-node>current
+     node</a>.</li>
 
-    <p>If this process resulted in a collection of character
-    tokens, append a single <code>Text</code> node, whose contents
-    is the concatenation of all those tokens' characters, to the
-    new element node.</p>
+     <li><p>Switch the tokeniser's <a href=#content-model-flag>content model flag</a> to
+     the RCDATA state.</li>
 
-    <p>The tokeniser's <a href=#content-model-flag>content model flag</a> will have
-    switched back to the PCDATA state.</p>
+     <li><p>Let the <a href=#original-insertion-mode>original insertion mode</a> be the
+     current <span>insertion mode</span>.</p>
 
-    <p>If the next token is an end tag token with the tag name
-    "textarea", ignore it. Otherwise, this is a <a href=#parse-error>parse
-    error</a>.</p>
+     <li><p>Switch the <span>insertion mode</span> to "<a href=#parsing-main-incdata title="insertion mode: in CDATA/RCDATA">in
+     CDATA/RCDATA</a>".</li>
 
-   </dd>
+    </ol></dd>
 
    <dt>A start tag whose tag name is one of: "iframe", "noembed"</dt>
    <dt>A start tag whose tag name is "noscript", if the <a href=#scripting-flag>scripting flag</a> is enabled</dt>

Received on Wednesday, 8 October 2008 07:51:56 UTC