Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Change the way this is phrased to try to make it less confusing.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14049

git-svn-id: http://svn.whatwg.org/webapps@6705 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 19, 2011
1 parent 6fb8411 commit 9bc37ce
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 49 deletions.
30 changes: 15 additions & 15 deletions complete.html
Expand Up @@ -49008,22 +49008,19 @@ <h4 id=the-select-element><span class=secno>4.10.9 </span>The <dfn><code>select<
<p>The <dfn id=attr-select-size title=attr-select-size><code>size</code></dfn>
attribute gives the number of options to show to the user. The <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute, if specified, must
have a value that is a <a href=#valid-non-negative-integer>valid non-negative integer</a>
greater than zero. If the <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute is present,
then the <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute's
default value is 4. If the <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute is absent,
then the <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute's
default value is 1.</p>
greater than zero.</p>

<div class=impl>

<p>The <dfn id=concept-select-size title=concept-select-size>display size</dfn> of a
<code><a href=#the-select-element>select</a></code> element is the result of applying the
<a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a> to the value of
element's <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute, if it
has one and parsing it is successful. If applying those rules to the
attribute's value is not successful, or if the <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute is absent, the
element's <a href=#concept-select-size title=concept-select-size>display size</a> is
the default value of the attribute.</p>
element's <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute, if
it has one and parsing it is successful. If applying those rules to
the attribute's value is not successful, or if the <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute is absent, then the
element's <a href=#concept-select-size title=concept-select-size>display size</a> is 4
if the element's <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code>
content attribute is present, and 1 otherwise.</p>

</div>

Expand Down Expand Up @@ -49327,11 +49324,14 @@ <h4 id=the-select-element><span class=secno>4.10.9 </span>The <dfn><code>select<
<dfn id=dom-select-size title=dom-select-size><code>size</code></dfn> IDL attributes
must <a href=#reflect>reflect</a> the respective content attributes of the
same name. The <code title=dom-select-size><a href=#dom-select-size>size</a></code> IDL
attribute has a default value of zero (which for historical reasons
is different from the default value of the <code title=attr-select-size><a href=#attr-select-size>size</a></code> content attribute that it
reflects).</p> <!-- see bug 12288 for compat reasons why .size
allows zero (it's not limited to values greater than zero) even
though that value really makes no sense -->
attribute has a default value of zero.</p> <!-- see bug 12288 for
compat reasons why .size allows zero (it's not limited to values
greater than zero) even though that value really makes no sense -->

<p class=note>For historical reasons, the default value of the
<code title=dom-select-size><a href=#dom-select-size>size</a></code> IDL attribute does not
return the actual size used, which, in the absence of the <code title=attr-select-size><a href=#attr-select-size>size</a></code> content attribute, is either 1
or 4 depending on the presence of the <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute.</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 <code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code>
Expand Down
30 changes: 15 additions & 15 deletions index
Expand Up @@ -49008,22 +49008,19 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<p>The <dfn id=attr-select-size title=attr-select-size><code>size</code></dfn>
attribute gives the number of options to show to the user. The <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute, if specified, must
have a value that is a <a href=#valid-non-negative-integer>valid non-negative integer</a>
greater than zero. If the <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute is present,
then the <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute's
default value is 4. If the <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute is absent,
then the <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute's
default value is 1.</p>
greater than zero.</p>

<div class=impl>

<p>The <dfn id=concept-select-size title=concept-select-size>display size</dfn> of a
<code><a href=#the-select-element>select</a></code> element is the result of applying the
<a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a> to the value of
element's <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute, if it
has one and parsing it is successful. If applying those rules to the
attribute's value is not successful, or if the <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute is absent, the
element's <a href=#concept-select-size title=concept-select-size>display size</a> is
the default value of the attribute.</p>
element's <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute, if
it has one and parsing it is successful. If applying those rules to
the attribute's value is not successful, or if the <code title=attr-select-size><a href=#attr-select-size>size</a></code> attribute is absent, then the
element's <a href=#concept-select-size title=concept-select-size>display size</a> is 4
if the element's <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code>
content attribute is present, and 1 otherwise.</p>

</div>

Expand Down Expand Up @@ -49327,11 +49324,14 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<dfn id=dom-select-size title=dom-select-size><code>size</code></dfn> IDL attributes
must <a href=#reflect>reflect</a> the respective content attributes of the
same name. The <code title=dom-select-size><a href=#dom-select-size>size</a></code> IDL
attribute has a default value of zero (which for historical reasons
is different from the default value of the <code title=attr-select-size><a href=#attr-select-size>size</a></code> content attribute that it
reflects).</p> <!-- see bug 12288 for compat reasons why .size
allows zero (it's not limited to values greater than zero) even
though that value really makes no sense -->
attribute has a default value of zero.</p> <!-- see bug 12288 for
compat reasons why .size allows zero (it's not limited to values
greater than zero) even though that value really makes no sense -->

<p class=note>For historical reasons, the default value of the
<code title=dom-select-size><a href=#dom-select-size>size</a></code> IDL attribute does not
return the actual size used, which, in the absence of the <code title=attr-select-size><a href=#attr-select-size>size</a></code> content attribute, is either 1
or 4 depending on the presence of the <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute.</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 <code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code>
Expand Down
37 changes: 18 additions & 19 deletions source
Expand Up @@ -54864,25 +54864,20 @@ You cannot submit this form when the field is incorrect.</samp></pre>
attribute gives the number of options to show to the user. The <code
title="attr-select-size">size</code> attribute, if specified, must
have a value that is a <span>valid non-negative integer</span>
greater than zero. If the <code
title="attr-select-multiple">multiple</code> attribute is present,
then the <code title="attr-select-size">size</code> attribute's
default value is 4. If the <code
title="attr-select-multiple">multiple</code> attribute is absent,
then the <code title="attr-select-size">size</code> attribute's
default value is 1.</p>
greater than zero.</p>

<div class="impl">

<p>The <dfn title="concept-select-size">display size</dfn> of a
<code>select</code> element is the result of applying the
<span>rules for parsing non-negative integers</span> to the value of
element's <code title="attr-select-size">size</code> attribute, if it
has one and parsing it is successful. If applying those rules to the
attribute's value is not successful, or if the <code
title="attr-select-size">size</code> attribute is absent, the
element's <span title="concept-select-size">display size</span> is
the default value of the attribute.</p>
element's <code title="attr-select-size">size</code> attribute, if
it has one and parsing it is successful. If applying those rules to
the attribute's value is not successful, or if the <code
title="attr-select-size">size</code> attribute is absent, then the
element's <span title="concept-select-size">display size</span> is 4
if the element's <code title="attr-select-multiple">multiple</code>
content attribute is present, and 1 otherwise.</p>

</div>

Expand Down Expand Up @@ -55260,12 +55255,16 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<dfn title="dom-select-size"><code>size</code></dfn> IDL attributes
must <span>reflect</span> the respective content attributes of the
same name. The <code title="dom-select-size">size</code> IDL
attribute has a default value of zero (which for historical reasons
is different from the default value of the <code
title="attr-select-size">size</code> content attribute that it
reflects).</p> <!-- see bug 12288 for compat reasons why .size
allows zero (it's not limited to values greater than zero) even
though that value really makes no sense -->
attribute has a default value of zero.</p> <!-- see bug 12288 for
compat reasons why .size allows zero (it's not limited to values
greater than zero) even though that value really makes no sense -->

<p class="note">For historical reasons, the default value of the
<code title="dom-select-size">size</code> IDL attribute does not
return the actual size used, which, in the absence of the <code
title="attr-select-size">size</code> content attribute, is either 1
or 4 depending on the presence of the <code
title="attr-select-multiple">multiple</code> attribute.</p>

<p>The <code title="dom-cva-willValidate">willValidate</code>, <code
title="dom-cva-validity">validity</code>, and <code
Expand Down

0 comments on commit 9bc37ce

Please sign in to comment.