Skip to content

Commit

Permalink
[e] (0) variety of editorial changes to clean things up
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3296 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 17, 2009
1 parent 8a5c515 commit dd29e62
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 47 deletions.
36 changes: 13 additions & 23 deletions index
Expand Up @@ -1588,6 +1588,11 @@
<code>Node</code> with node type <code title="">TEXT_NODE</code> (3)
or <code title="">CDATA_SECTION_NODE</code> (4). <a href=#refsDOM3CORE>[DOM3CORE]</a></p>

<p>A content attribute is said to <dfn title="">change</dfn> value
only if its value new value is different than its previous value;
setting an attribute to a value it already has does not change
it.</p>


<h4 id=scripting-0><span class=secno>2.1.3 </span>Scripting</h4>

Expand Down Expand Up @@ -25513,8 +25518,7 @@ function AddCloud(data, x, y) { ... }</pre>
<p>The <dfn id=dom-dim-width title=dom-dim-width><code>width</code></dfn> and <dfn id=dom-dim-height title=dom-dim-height><code>height</code></dfn> DOM attributes on
the <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-object-element>object</a></code>,
and <code><a href=#video>video</a></code> elements must <a href=#reflect>reflect</a> the
respective content attributes of the same name.</p> <!-- XXX check
that this is defined right in the face of percentages -->
respective content attributes of the same name.</p>

</div>

Expand Down Expand Up @@ -29348,12 +29352,6 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H

<h5 id=states-of-the-type-attribute><span class=secno>4.10.4.1 </span>States of the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute</h5>

<!-- XXX for things that say "express it as a valid foo", make sure
that valid foo is unambiguous, and if not, define a canonical
serialisation. e.g. should it be 2008-01-01T00:00 or
2008-01-01t00:00? should it be 1e2 or 100? -->



<h6 id=hidden-state><span class=secno>4.10.4.1.1 </span><dfn title=attr-input-type-hidden>Hidden</dfn> state</h6>

Expand Down Expand Up @@ -31329,8 +31327,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
true (for whatever reason).</li>

<li>The element's <code title=attr-fe-name><a href=#attr-fe-name>name</a></code>
attribute is added, removed, or changes value<!-- XXX setting to
the same value? -->.</li>
attribute is added, removed, or changes value.</li>

<li>The element's <a href=#form-owner>form owner</a> changes.</li>

Expand Down Expand Up @@ -31458,7 +31455,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
comma-separated tokens</a>, each of which must be an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> match for one of the following:</p>

<dl><!-- XXX allow */* ? --><dt>The string <code title="">audio/*</code></dt>
<dl><dt>The string <code title="">audio/*</code></dt>

<dd>Indicates that sound files are accepted.</dd>

Expand Down Expand Up @@ -31675,7 +31672,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H

<li>The <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#image-button-state title=attr-input-type-image>Image Button</a> state, and the
<code title=attr-input-src><a href=#attr-input-src>src</a></code> attribute is set or
changed.</li> <!-- XXX define changed -->
changed.</li>

</ul><!-- same text in <img> section and similar text elsewhere --><p>Fetching the image must <a href=#delay-the-load-event>delay the load event</a> of the
element's document until the <a href=#concept-task title=concept-task>task</a>
Expand Down Expand Up @@ -32714,8 +32711,6 @@ You cannot complete this form until the field is correct.</samp></pre>
the value, e.g. hitting the "delete" key in an empty text field, or
replacing some text in the field with text from the clipboard that
happens to be exactly the same text.</p>
<!-- XXX consider putting the above example in a section that
applies to "input" events for the <textarea> element too -->

<p>When the <dfn id=event-input-change title=event-input-change><code>change</code></dfn> event applies,
if the element does not have an <a href=#activation-behavior>activation behavior</a>
Expand Down Expand Up @@ -33944,10 +33939,6 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
<p>The element's <a href=#concept-fe-value title=concept-fe-value>value</a> is the
string returned from the following algorithm:</p>

<!-- XXXrefs:
[X690] http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf
-->

<ol><li>

<p>Use the appropriate step from the following list:</p>
Expand Down Expand Up @@ -34279,8 +34270,6 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme

<h4 id=association-of-controls-and-forms><span class=secno>4.10.13 </span>Association of controls and forms</h4>

<!-- XXX consider xreffing the 'ID' term in this section -->

<p>A <a href=#form-associated-element>form-associated element</a> can have a relationship
with a <code><a href=#the-form-element>form</a></code> element, which is called the element's
<dfn id=form-owner>form owner</dfn>. If a <a href=#form-associated-element>form-associated element</a> is
Expand All @@ -34304,9 +34293,9 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
<a href=#form-owner>form owner</a> must be set to that form.</p>

<p>When a <a href=#form-associated-element>form-associated element</a>'s ancestor chain
changes, e.g. because it or one of its ancestors was <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted</a> or
removed<!--XXX--> from a <code>Document</code>, then the user agent
must <a href=#reset-the-form-owner>reset the form owner</a> of that element.</p>
changes, e.g. because it or one of its ancestors was <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted</a> or <a href=#remove-an-element-from-a-document title="remove an element from a document">removed</a> from a
<code>Document</code>, then the user agent must <a href=#reset-the-form-owner>reset the form
owner</a> of that element.</p>

<p>When a <a href=#form-associated-element>form-associated element</a>'s <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is added, removed, or
has its value changed, then the user agent must <a href=#reset-the-form-owner>reset the form
Expand Down Expand Up @@ -70112,6 +70101,7 @@ time:empty { binding: <i title="">time</i>; }</pre>
[WIN874] http://www.microsoft.com/globaldev/reference/sbcs/874.mspx
[WIN874] http://www.microsoft.com/globaldev/reference/sbcs/874.mspx OR http://msdn.microsoft.com/en-us/goglobal/cc305142.aspx
[WIN949] http://www.microsoft.com/globaldev/reference/dbcs/949.mspx OR http://msdn.microsoft.com/en-us/goglobal/cc305154.aspx
[X690] http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf

-->

Expand Down
37 changes: 13 additions & 24 deletions source
Expand Up @@ -564,6 +564,11 @@
or <code title="">CDATA_SECTION_NODE</code> (4). <a
href="#refsDOM3CORE">[DOM3CORE]</a></p>

<p>A content attribute is said to <dfn title="">change</dfn> value
only if its value new value is different than its previous value;
setting an attribute to a value it already has does not change
it.</p>


<h4>Scripting</h4>

Expand Down Expand Up @@ -28037,8 +28042,7 @@ function AddCloud(data, x, y) { ... }</pre>
title="dom-dim-height"><code>height</code></dfn> DOM attributes on
the <code>iframe</code>, <code>embed</code>, <code>object</code>,
and <code>video</code> elements must <span>reflect</span> the
respective content attributes of the same name.</p> <!-- XXX check
that this is defined right in the face of percentages -->
respective content attributes of the same name.</p>

</div>

Expand Down Expand Up @@ -32550,12 +32554,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {

<h5>States of the <code title="attr-input-type">type</code> attribute</h5>

<!-- XXX for things that say "express it as a valid foo", make sure
that valid foo is unambiguous, and if not, define a canonical
serialisation. e.g. should it be 2008-01-01T00:00 or
2008-01-01t00:00? should it be 1e2 or 100? -->



<h6><dfn title="attr-input-type-hidden">Hidden</dfn> state</h6>

Expand Down Expand Up @@ -34769,8 +34767,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
true (for whatever reason).</li>

<li>The element's <code title="attr-fe-name">name</code>
attribute is added, removed, or changes value<!-- XXX setting to
the same value? -->.</li>
attribute is added, removed, or changes value.</li>

<li>The element's <span>form owner</span> changes.</li>

Expand Down Expand Up @@ -34910,8 +34907,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {

<dl>

<!-- XXX allow */* ? -->

<dt>The string <code title="">audio/*</code></dt>

<dd>Indicates that sound files are accepted.</dd>
Expand Down Expand Up @@ -35159,7 +35154,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
title="attr-input-type">type</code> attribute is in the <span
title="attr-input-type-image">Image Button</span> state, and the
<code title="attr-input-src">src</code> attribute is set or
changed.</li> <!-- XXX define changed -->
changed.</li>

</ul>

Expand Down Expand Up @@ -36414,8 +36409,6 @@ You cannot complete this form until the field is correct.</samp></pre>
the value, e.g. hitting the "delete" key in an empty text field, or
replacing some text in the field with text from the clipboard that
happens to be exactly the same text.</p>
<!-- XXX consider putting the above example in a section that
applies to "input" events for the <textarea> element too -->

<p>When the <dfn
title="event-input-change"><code>change</code></dfn> event applies,
Expand Down Expand Up @@ -37909,10 +37902,6 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
<p>The element's <span title="concept-fe-value">value</span> is the
string returned from the following algorithm:</p>

<!-- XXXrefs:
[X690] http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf
-->

<ol>

<li>
Expand Down Expand Up @@ -38312,8 +38301,6 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {

<h4>Association of controls and forms</h4>

<!-- XXX consider xreffing the 'ID' term in this section -->

<p>A <span>form-associated element</span> can have a relationship
with a <code>form</code> element, which is called the element's
<dfn>form owner</dfn>. If a <span>form-associated element</span> is
Expand Down Expand Up @@ -38342,9 +38329,10 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {

<p>When a <span>form-associated element</span>'s ancestor chain
changes, e.g. because it or one of its ancestors was <span
title="insert an element into a document">inserted</span> or
removed<!--XXX--> from a <code>Document</code>, then the user agent
must <span>reset the form owner</span> of that element.</p>
title="insert an element into a document">inserted</span> or <span
title="remove an element from a document">removed</span> from a
<code>Document</code>, then the user agent must <span>reset the form
owner</span> of that element.</p>

<p>When a <span>form-associated element</span>'s <code
title="attr-fae-form">form</code> attribute is added, removed, or
Expand Down Expand Up @@ -82689,6 +82677,7 @@ time:empty { binding: <i title="">time</i>; }</pre>
[WIN874] http://www.microsoft.com/globaldev/reference/sbcs/874.mspx
[WIN874] http://www.microsoft.com/globaldev/reference/sbcs/874.mspx OR http://msdn.microsoft.com/en-us/goglobal/cc305142.aspx
[WIN949] http://www.microsoft.com/globaldev/reference/dbcs/949.mspx OR http://msdn.microsoft.com/en-us/goglobal/cc305154.aspx
[X690] http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf

-->

Expand Down

0 comments on commit dd29e62

Please sign in to comment.