- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 10 Aug 2010 06:26:52 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv32015
Modified Files:
association-of-controls-and-forms.html spec.html
Log Message:
More clarifications. (whatwg r5266)
[updated by splitter]
Index: association-of-controls-and-forms.html
===================================================================
RCS file: /sources/public/html5/spec/association-of-controls-and-forms.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- association-of-controls-and-forms.html 10 Aug 2010 06:16:45 -0000 1.16
+++ association-of-controls-and-forms.html 10 Aug 2010 06:26:50 -0000 1.17
@@ -428,11 +428,12 @@
form "c", while the <a href="#form-owner">form owner</a> of "e" would be the
outer form "a".</p>
- <p>This is because despite the association of "e" with "c" in the
- <a href="parsing.html#html-parser">HTML parser</a>, when the <code title="dom-innerHTML"><a href="apis-in-html-documents.html#dom-innerhtml">innerHTML</a></code> algorithm moves the nodes
- from the temporary document to the "b" element, the nodes see their
- ancestor chain change, and thus all the "magic" associations done
- by the parser are reset to normal ancestor associations.</p>
+ <p>This happens as follows: First, the "e" node gets associated
+ with "c" in the <a href="parsing.html#html-parser">HTML parser</a>. Theh, the <code title="dom-innerHTML"><a href="apis-in-html-documents.html#dom-innerhtml">innerHTML</a></code> algorithm moves the nodes
+ from the temporary document to the "b" element. At this point, the
+ nodes see their ancestor chain change, and thus all the "magic"
+ associations done by the parser are reset to normal ancestor
+ associations.</p>
<p>This example is a non-conforming document, though, as it is a
violation of the content models to nest <code><a href="forms.html#the-form-element">form</a></code>
@@ -1844,9 +1845,9 @@
<p>If the <code><a href="forms.html#the-form-element">form</a></code> element has an <code title="attr-form-accept-charset"><a href="forms.html#attr-form-accept-charset">accept-charset</a></code> attribute,
then, taking into account the characters found in the <var title="">form data set</var>'s names and values, and the character
encodings supported by the user agent, select a character encoding
- from the list given in the <code><a href="forms.html#the-form-element">form</a></code>'s <code title="attr-form-accept-charset"><a href="forms.html#attr-form-accept-charset">accept-charset</a></code>
- attribute. If none of the encodings are supported, then let the
- selected character encoding be UTF-8.</p>
+ from the list given in the <code><a href="forms.html#the-form-element">form</a></code>'s <code title="attr-form-accept-charset"><a href="forms.html#attr-form-accept-charset">accept-charset</a></code> attribute.
+ If none of the encodings are supported, or if none are listed,
+ then let the selected character encoding be UTF-8.</p>
<p>Otherwise, the selected character encoding is the
<a href="dom.html#document-s-character-encoding">document's character encoding</a>.</p>
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1122
retrieving revision 1.1123
diff -u -d -r1.1122 -r1.1123
--- spec.html 10 Aug 2010 06:16:45 -0000 1.1122
+++ spec.html 10 Aug 2010 06:26:50 -0000 1.1123
@@ -334,7 +334,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">author edition</a>.
-This is revision 1.4194.
+This is revision 1.4195.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Tuesday, 10 August 2010 06:26:57 UTC