Skip to content

Commit

Permalink
[c] (0) Allow controls to be given a missing value explicitly (<input…
Browse files Browse the repository at this point in the history
… type=number value=''> for instance)

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12256

git-svn-id: http://svn.whatwg.org/webapps@6118 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 7, 2011
1 parent 1c15c29 commit 499362f
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 87 deletions.
60 changes: 31 additions & 29 deletions complete.html
Expand Up @@ -43384,9 +43384,9 @@ <h6 id=url-state><span class=secno>4.10.7.1.4 </span><dfn title=attr-input-type-
</div>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially
surrounded by spaces</a> that is also an <a href=#absolute-url>absolute
URL</a>.</p>
specified and not empty, must have a value that is a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL
potentially surrounded by spaces</a> that is also an
<a href=#absolute-url>absolute URL</a>.</p>

<div class=impl>

Expand Down Expand Up @@ -43536,8 +43536,8 @@ <h6 id=e-mail-state><span class=secno>4.10.7.1.5 </span><dfn title=attr-input-ty
</div>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a single <a href=#valid-e-mail-address>valid e-mail
address</a>.</p>
specified and not empty, must have a value that is a single
<a href=#valid-e-mail-address>valid e-mail address</a>.</p>

<div class=impl>

Expand Down Expand Up @@ -43856,9 +43856,9 @@ <h6 id=date-and-time-state><span class=secno>4.10.7.1.7 </span><dfn title=attr-i
of the user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-global-date-and-time-string>valid global date and
time string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-global-date-and-time-string>valid
global date and time string</a>.</p> <!-- ok to set out-of-range
value, we never know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44031,9 +44031,9 @@ <h6 id=date-state><span class=secno>4.10.7.1.8 </span><dfn title=attr-input-type
user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-date-string>valid date
string</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-date-string>valid
date string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44184,9 +44184,9 @@ <h6 id=month-state><span class=secno>4.10.7.1.9 </span><dfn title=attr-input-typ
user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-month-string>valid month
string</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-month-string>valid
month string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44338,9 +44338,9 @@ <h6 id=week-state><span class=secno>4.10.7.1.10 </span><dfn title=attr-input-typ
user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-week-string>valid week
string</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-week-string>valid
week string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44497,9 +44497,9 @@ <h6 id=time-state><span class=secno>4.10.7.1.11 </span><dfn title=attr-input-typ
user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-time-string>valid time
string</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-time-string>valid
time string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44650,9 +44650,9 @@ <h6 id=local-date-and-time-state><span class=secno>4.10.7.1.12 </span><dfn title
of the user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-local-date-and-time-string>valid local date and
time string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-local-date-and-time-string>valid
local date and time string</a>.</p> <!-- ok to set out-of-range
value, we never know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44816,9 +44816,9 @@ <h6 id=number-state><span class=secno>4.10.7.1.13 </span><dfn title=attr-input-t
</div>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
number</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-floating-point-number>valid
floating point number</a>.</p> <!-- ok to set out-of-range value,
we never know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44957,7 +44957,9 @@ <h6 id=range-state><span class=secno>4.10.7.1.14 </span><dfn title=attr-input-ty
<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
number</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
when we might have to represent bogus input; not ok to not have a
value if the attribute is present, since you can't not have a value
(attribute missing is treated as implying a default value) -->

<div class=impl>

Expand Down Expand Up @@ -45180,8 +45182,8 @@ <h6 id=color-state><span class=secno>4.10.7.1.15 </span><dfn title=attr-input-ty
</div>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-simple-color>valid simple
color</a>.</p>
specified and not empty, must have a value that is a <a href=#valid-simple-color>valid
simple color</a>.</p>

<div class=impl>

Expand Down
60 changes: 31 additions & 29 deletions index
Expand Up @@ -43412,9 +43412,9 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
</div>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially
surrounded by spaces</a> that is also an <a href=#absolute-url>absolute
URL</a>.</p>
specified and not empty, must have a value that is a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL
potentially surrounded by spaces</a> that is also an
<a href=#absolute-url>absolute URL</a>.</p>

<div class=impl>

Expand Down Expand Up @@ -43564,8 +43564,8 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
</div>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a single <a href=#valid-e-mail-address>valid e-mail
address</a>.</p>
specified and not empty, must have a value that is a single
<a href=#valid-e-mail-address>valid e-mail address</a>.</p>

<div class=impl>

Expand Down Expand Up @@ -43884,9 +43884,9 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
of the user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-global-date-and-time-string>valid global date and
time string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-global-date-and-time-string>valid
global date and time string</a>.</p> <!-- ok to set out-of-range
value, we never know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44059,9 +44059,9 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-date-string>valid date
string</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-date-string>valid
date string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44212,9 +44212,9 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-month-string>valid month
string</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-month-string>valid
month string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44366,9 +44366,9 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-week-string>valid week
string</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-week-string>valid
week string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44525,9 +44525,9 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-time-string>valid time
string</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-time-string>valid
time string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44678,9 +44678,9 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
of the user's preferred locale.</p>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-local-date-and-time-string>valid local date and
time string</a>.</p> <!-- ok to set out-of-range value, we never
know when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-local-date-and-time-string>valid
local date and time string</a>.</p> <!-- ok to set out-of-range
value, we never know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44844,9 +44844,9 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
</div>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
number</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
specified and not empty, must have a value that is a <a href=#valid-floating-point-number>valid
floating point number</a>.</p> <!-- ok to set out-of-range value,
we never know when we might have to represent bogus input -->

<div class=impl>

Expand Down Expand Up @@ -44985,7 +44985,9 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
number</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input -->
when we might have to represent bogus input; not ok to not have a
value if the attribute is present, since you can't not have a value
(attribute missing is treated as implying a default value) -->

<div class=impl>

Expand Down Expand Up @@ -45208,8 +45210,8 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
</div>

<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified, must have a value that is a <a href=#valid-simple-color>valid simple
color</a>.</p>
specified and not empty, must have a value that is a <a href=#valid-simple-color>valid
simple color</a>.</p>

<div class=impl>

Expand Down

0 comments on commit 499362f

Please sign in to comment.