Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) fiddle with some wording for consistency.
git-svn-id: http://svn.whatwg.org/webapps@2281 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 4, 2008
1 parent efb25e7 commit 993664e
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 51 deletions.
61 changes: 35 additions & 26 deletions index
Expand Up @@ -7864,8 +7864,8 @@ Consider: data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ d
the first are ignored.</p>

<p>The <dfn id=dom-base-href title=dom-base-href><code>href</code></dfn> and <dfn id=dom-base-target title=dom-base-target><code>target</code></dfn> DOM attributes
must <a href=#reflect>reflect</a> the content attributes of the same
name.</p>
must <a href=#reflect>reflect</a> the respective content attributes of the
same name.</p>


<h4 id=the-link-element><span class=secno>4.2.4 </span>The <dfn><code>link</code></dfn> element</h4>
Expand Down Expand Up @@ -11435,7 +11435,7 @@ first matching case):&lt;/p&gt;
suffix</a></var>, then take that into account when following the
hyperlink.</li>

</ol><p>The DOM attributes <dfn id=dom-a-href title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=dom-a-type title=dom-a-type><code>type</code></dfn>, must each
</ol><p>The DOM attributes <dfn id=dom-a-href title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=dom-a-type title=dom-a-type><code>type</code></dfn>, must
<a href=#reflect>reflect</a> the respective content attributes of the same
name.</p>

Expand Down Expand Up @@ -12419,7 +12419,7 @@ this specification: the &lt;abbr&gt;WHATWG&lt;/abbr&gt; and the
position of the current value relative to the maximum value.</p>

<p>The <dfn id=dom-progress-max title=dom-progress-max><code>max</code></dfn> and <dfn id=dom-progress-value title=dom-progress-value><code>value</code></dfn> DOM attributes
must <a href=#reflect>reflect</a> the elements' content attributes of the
must <a href=#reflect>reflect</a> the respective content attributes of the
same name. When the relevant content attributes are absent, the DOM
attributes must return zero. The value parsed from the
<code><a href=#textcontent>textContent</a></code> never affects the DOM values.</p>
Expand Down Expand Up @@ -12780,7 +12780,7 @@ and a height of &lt;meter&gt;2cm&lt;/meter&gt;.&lt;/p&gt; &lt;!-- <strong>BAD!</
</div>

<p>The <dfn id=dom-meter-min title=dom-meter-min><code>min</code></dfn>, <dfn id=dom-meter-max title=dom-meter-max><code>max</code></dfn>, <dfn id=dom-meter-value title=dom-meter-value><code>value</code></dfn>, <dfn id=dom-meter-low title=dom-meter-low><code>low</code></dfn>, <dfn id=dom-meter-high title=dom-meter-high><code>high</code></dfn>, and <dfn id=dom-meter-optimum title=dom-meter-optimum><code>optimum</code></dfn> DOM attributes
must <a href=#reflect>reflect</a> the elements' content attributes of the
must <a href=#reflect>reflect</a> the respective content attributes of the
same name. When the relevant content attributes are absent, the DOM
attributes must return zero. The value parsed from the
<code><a href=#textcontent>textContent</a></code> never affects the DOM values.</p>
Expand Down Expand Up @@ -15418,7 +15418,8 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<code><a href=#the-iframe-element>iframe</a></code> elements as text.</p>

<p>The DOM attributes <dfn id=dom-iframe-src title=dom-iframe-src><code>src</code></dfn>, <dfn id=dom-iframe-name title=dom-iframe-name><code>name</code></dfn>, <dfn id=dom-iframe-sandbox title=dom-iframe-sandbox><code>sandbox</code></dfn>, and <dfn id=dom-iframe-seamless title=dom-iframe-seamless><code>seamless</code></dfn> must
<a href=#reflect>reflect</a> the content attributes of the same name.</p>
<a href=#reflect>reflect</a> the respective content attributes of the same
name.</p>


<h4 id=the-embed-element><span class=secno>4.8.4 </span>The <dfn><code>embed</code></dfn> element</h4>
Expand Down Expand Up @@ -16714,7 +16715,8 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael

<p>The <dfn id=dom-media-src title=dom-media-src><code>src</code></dfn> DOM
attribute on <a href=#media-element title="media element">media elements</a> must
<a href=#reflect>reflect</a> the content attribute of the same name.</p>
<a href=#reflect>reflect</a> the respective content attribute of the same
name.</p>

<p>To <dfn id=pick-a-media-resource>pick a media resource</dfn> for a <a href=#media-element>media
element</a>, a user agent must use the following steps:</p>
Expand Down Expand Up @@ -18324,8 +18326,8 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {

<p>The <dfn id=dom-canvas-width title=dom-canvas-width><code>width</code></dfn> and
<dfn id=dom-canvas-height title=dom-canvas-height><code>height</code></dfn> DOM
attributes must <a href=#reflect>reflect</a> the content attributes of the
same name.</p>
attributes must <a href=#reflect>reflect</a> the respective content
attributes of the same name.</p>

<div class=example>
<p>Only one square appears to be drawn in the following example:</p>
Expand Down Expand Up @@ -20957,7 +20959,8 @@ 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-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 content attributes of the same name.</p>
elements must <a href=#reflect>reflect</a> the respective content attributes
of the same name.</p>



Expand Down Expand Up @@ -21256,9 +21259,9 @@ function AddCloud(data, x, y) { ... }</pre>
<a href=#table-model>table model</a>.</p>

<p>The <dfn id=dom-colgroup-span title=dom-colgroup-span><code>span</code></dfn> DOM
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name. The value must be <a href=#limited-to-only-positive-non-zero-numbers>limited to only positive non-zero
numbers</a>.</p>
attribute must <a href=#reflect>reflect</a> the respective content attribute
of the same name. The value must be <a href=#limited-to-only-positive-non-zero-numbers>limited to only positive
non-zero numbers</a>.</p>


<h4 id=the-col-element><span class=secno>4.9.5 </span>The <dfn><code>col</code></dfn> element</h4>
Expand Down Expand Up @@ -22692,8 +22695,8 @@ function AddCloud(data, x, y) { ... }</pre>

<p>The <dfn id=dom-form-accept-charset title=dom-form-accept-charset><code>accept-charset</code></dfn>
and <dfn id=dom-form-name title=dom-form-name><code>name</code></dfn> DOM
attributes must <a href=#reflect>reflect</a> the content attributes of the
same name.</p>
attributes must <a href=#reflect>reflect</a> the respective content
attributes of the same name.</p>

<p>The <dfn id=dom-form-elements title=dom-form-elements><code>elements</code></dfn>
DOM attribute must return an <code><a href=#htmlformcontrolscollection-0>HTMLFormControlsCollection</a></code>
Expand Down Expand Up @@ -23778,9 +23781,9 @@ function AddCloud(data, x, y) { ... }</pre>
attribute controls focus.</p>

<p>The <dfn id=dom-input-accept title=dom-input-accept><code>accept</code></dfn>, <dfn id=dom-input-alt title=dom-input-alt><code>alt</code></dfn>, <dfn id=dom-input-autocomplete title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn id=dom-input-max title=dom-input-max><code>max</code></dfn>, <dfn id=dom-input-min title=dom-input-min><code>min</code></dfn>, <dfn id=dom-input-pattern title=dom-input-pattern><code>pattern</code></dfn>, <dfn id=dom-input-required title=dom-input-required><code>required</code></dfn>, <dfn id=dom-input-size title=dom-input-size><code>size</code></dfn>, <dfn id=dom-input-src title=dom-input-src><code>src</code></dfn>, <dfn id=dom-input-step title=dom-input-step><code>step</code></dfn>, and <dfn id=dom-input-type title=dom-input-type><code>type</code></dfn> DOM attributes must
<a href=#reflect>reflect</a> the content attributes with the same names.
The <dfn id=dom-input-maxlength title=dom-input-maxLength><code>maxLength</code></dfn>
DOM attribute must <a href=#reflect>reflect</a> the <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> content attribute. The
<a href=#reflect>reflect</a> the respective content attributes of the same
name. The <dfn id=dom-input-maxlength title=dom-input-maxLength><code>maxLength</code></dfn> DOM
attribute must <a href=#reflect>reflect</a> the <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> content attribute. The
<dfn id=dom-input-readonly title=dom-input-readOnly><code>readOnly</code></dfn> DOM
attribute must <a href=#reflect>reflect</a> the <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> content attribute. The
<dfn id=dom-input-defaultchecked title=dom-input-defaultChecked><code>defaultChecked</code></dfn>
Expand Down Expand Up @@ -26014,8 +26017,8 @@ function AddCloud(data, x, y) { ... }</pre>
attribute DOMString <a href=#dom-fs-method title=dom-fs-method>method</a>;
attribute DOMString <a href=#dom-fe-name title=dom-fe-name>name</a>;
attribute DOMString <a href=#dom-fs-target title=dom-fs-target>target</a>;
attribute DOMString <span title=dom-button-type>type</span>;
attribute DOMString <span title=dom-button-value>value</span>;
attribute DOMString <a href=#dom-button-type title=dom-button-type>type</a>;
attribute DOMString <a href=#dom-button-value title=dom-button-value>value</a>;

readonly attribute <span>NodeList</span> <a href=#dom-lfe-labels title=dom-lfe-labels>labels</a>;

Expand Down Expand Up @@ -26092,6 +26095,11 @@ function AddCloud(data, x, y) { ... }</pre>
of the element's <code title=attr-button-value><a href=#attr-button-value>value</a></code>
attribute, if there is one, or the empty string otherwise.</p>

<p>The <dfn id=dom-button-value title=dom-button-value><code>value</code></dfn> and
<dfn id=dom-button-type title=dom-button-type><code>type</code></dfn> DOM attributes
must <a href=#reflect>reflect</a> the respective content attributes of the
same name.</p>

<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>
attributes, and the <code title=dom-cva-checkValidatity><a href=#dom-cva-checkvalidatity>checkValidity()</a></code> and
Expand Down Expand Up @@ -29001,9 +29009,10 @@ XXX selection ranges -->

</div>

<p>The <dfn id=dom-command-type title=dom-command-type><code>type</code></dfn>, <dfn id=dom-command-label title=dom-command-label><code>label</code></dfn>, <dfn id=dom-command-icon title=dom-command-icon><code>icon</code></dfn>, <dfn id=dom-command-disabled title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=dom-command-checked title=dom-command-checked><code>checked</code></dfn>, <dfn id=dom-command-radiogroup title=dom-command-radiogroup><code>radiogroup</code></dfn>, and <dfn id=dom-command-default title=dom-command-default><code>default</code></dfn> DOM
attributes must <a href=#reflect>reflect</a> the
content attributes of the same name.</p>
<p>The <dfn id=dom-command-type title=dom-command-type><code>type</code></dfn>, <dfn id=dom-command-label title=dom-command-label><code>label</code></dfn>, <dfn id=dom-command-icon title=dom-command-icon><code>icon</code></dfn>, <dfn id=dom-command-disabled title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=dom-command-checked title=dom-command-checked><code>checked</code></dfn>, <dfn id=dom-command-radiogroup title=dom-command-radiogroup><code>radiogroup</code></dfn>, and
<dfn id=dom-command-default title=dom-command-default><code>default</code></dfn> DOM
attributes must <a href=#reflect>reflect</a> the respective content
attributes of the same name.</p>

<p>The <dfn id=dom-command-click title=dom-command-click><code>click()</code></dfn>
method's behavior depends on the value of the <code title=attr-command-type><a href=#attr-command-type>type</a></code> attribute of the element, as
Expand Down Expand Up @@ -29276,9 +29285,9 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
containing another menu would use the nested menu's <code title=attr-menu-label><a href=#attr-menu-label>label</a></code> attribute for the submenu's
menu label.</p>

<p>The <dfn id=dom-menu-type title=dom-menu-type><code>type</code></dfn> and <dfn id=dom-menu-label title=dom-menu-label><code>label</code></dfn> DOM
attributes must <a href=#reflect>reflect</a> the
content attributes of the same name.</p>
<p>The <dfn id=dom-menu-type title=dom-menu-type><code>type</code></dfn> and <dfn id=dom-menu-label title=dom-menu-label><code>label</code></dfn> DOM attributes must
<a href=#reflect>reflect</a> the respective content attributes of the same
name.</p>



Expand Down

0 comments on commit 993664e

Please sign in to comment.