Skip to content
Permalink
Browse files
[e] (0) pedantic nit: spec required a valid value but then required t…
…he empty value as well; that's contradictory.

git-svn-id: http://svn.whatwg.org/webapps@5744 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 6, 2011
1 parent 8f0c071 commit 40975fc5883d831e4845a258ac9670c93556efea
Showing with 123 additions and 120 deletions.
  1. +38 −39 complete.html
  2. +38 −39 index
  3. +47 −42 source
@@ -41131,12 +41131,13 @@ <h6 id=date-and-time-state><span class=secno>4.10.7.1.7 </span><dfn title=attr-i
its <a href=#concept-fe-value title=concept-fe-value>value</a>, as obtained by
<a href=#parse-a-global-date-and-time-string title="parse a global date and time string">parsing a global
date and time</a> from it. User agents must not allow the user to
set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that
is not a <a href=#valid-global-date-and-time-string>valid global date and time string</a> expressed in
UTC, though user agents may allow the user to set and view the time
in another time zone and silently translate the time to and from the
UTC time zone in the <a href=#concept-fe-value title=concept-fe-value>value</a>. If
the user agent provides a user interface for selecting a <a href=#concept-datetime title=concept-datetime>global date and time</a>, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#valid-global-date-and-time-string>valid
set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a non-empty
string that is not a <a href=#valid-global-date-and-time-string>valid global date and time string</a>
expressed in UTC, though user agents may allow the user to set and
view the time in another time zone and silently translate the time
to and from the UTC time zone in the <a href=#concept-fe-value title=concept-fe-value>value</a>. If the user agent provides a
user interface for selecting a <a href=#concept-datetime title=concept-datetime>global
date and time</a>, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#valid-global-date-and-time-string>valid
global date and time string</a> expressed in UTC representing the
user's selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>

@@ -41303,12 +41304,11 @@ <h6 id=date-state><span class=secno>4.10.7.1.8 </span><dfn title=attr-input-type

<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user agent should allow the user to change the <a href=#concept-date title=concept-date>date</a> represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>, as obtained by <a href=#parse-a-date-string title="parse a date string">parsing a date</a> from it. User
agents must not allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that is not a
<a href=#valid-date-string>valid date string</a>. If the user agent provides a user
interface for selecting a <a href=#concept-date title=concept-date>date</a>,
then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
a <a href=#valid-date-string>valid date string</a> representing the user's
selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
agents must not allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a non-empty string that is
not a <a href=#valid-date-string>valid date string</a>. If the user agent provides a
user interface for selecting a <a href=#concept-date title=concept-date>date</a>, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#valid-date-string>valid
date string</a> representing the user's selection. User agents
should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>

</div>

@@ -41451,12 +41451,11 @@ <h6 id=month-state><span class=secno>4.10.7.1.9 </span><dfn title=attr-input-typ

<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user agent should allow the user to change the <a href=#concept-month title=concept-month>month</a> represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>, as obtained by <a href=#parse-a-month-string title="parse a month string">parsing a month</a> from it. User
agents must not allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that is not a
<a href=#valid-month-string>valid month string</a>. If the user agent provides a user
interface for selecting a <a href=#concept-month title=concept-month>month</a>,
then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
a <a href=#valid-month-string>valid month string</a> representing the user's
selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
agents must not allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a non-empty string that is
not a <a href=#valid-month-string>valid month string</a>. If the user agent provides a
user interface for selecting a <a href=#concept-month title=concept-month>month</a>, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#valid-month-string>valid
month string</a> representing the user's selection. User agents
should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>

</div>

@@ -41600,12 +41599,11 @@ <h6 id=week-state><span class=secno>4.10.7.1.10 </span><dfn title=attr-input-typ

<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user agent should allow the user to change the <a href=#concept-week title=concept-week>week</a> represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>, as obtained by <a href=#parse-a-week-string title="parse a week string">parsing a week</a> from it. User
agents must not allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that is not a
<a href=#valid-week-string>valid week string</a>. If the user agent provides a user
interface for selecting a <a href=#concept-week title=concept-week>week</a>,
then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
a <a href=#valid-week-string>valid week string</a> representing the user's
selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
agents must not allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a non-empty string that is
not a <a href=#valid-week-string>valid week string</a>. If the user agent provides a
user interface for selecting a <a href=#concept-week title=concept-week>week</a>, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#valid-week-string>valid
week string</a> representing the user's selection. User agents
should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>

</div>

@@ -41754,12 +41752,11 @@ <h6 id=time-state><span class=secno>4.10.7.1.11 </span><dfn title=attr-input-typ

<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user agent should allow the user to change the <a href=#concept-time title=concept-time>time</a> represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>, as obtained by <a href=#parse-a-time-string title="parse a time string">parsing a time</a> from it. User
agents must not allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that is not a
<a href=#valid-time-string>valid time string</a>. If the user agent provides a user
interface for selecting a <a href=#concept-time title=concept-time>time</a>,
then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
a <a href=#valid-time-string>valid time string</a> representing the user's
selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
agents must not allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a non-empty string that is
not a <a href=#valid-time-string>valid time string</a>. If the user agent provides a
user interface for selecting a <a href=#concept-time title=concept-time>time</a>, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#valid-time-string>valid
time string</a> representing the user's selection. User agents
should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>

</div>

@@ -41901,9 +41898,9 @@ <h6 id=local-date-and-time-state><span class=secno>4.10.7.1.12 </span><dfn title
its <a href=#concept-fe-value title=concept-fe-value>value</a>, as obtained by
<a href=#parse-a-local-date-and-time-string title="parse a local date and time string">parsing a date and
time</a> from it. User agents must not allow the user to set the
<a href=#concept-fe-value title=concept-fe-value>value</a> to a string that is not
a <a href=#valid-local-date-and-time-string>valid local date and time string</a>. If the user agent
provides a user interface for selecting a <a href=#concept-datetime-local title=concept-datetime-local>local date and time</a>, then the
<a href=#concept-fe-value title=concept-fe-value>value</a> to a non-empty string
that is not a <a href=#valid-local-date-and-time-string>valid local date and time string</a>. If the
user agent provides a user interface for selecting a <a href=#concept-datetime-local title=concept-datetime-local>local date and time</a>, then the
<a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a
<a href=#valid-local-date-and-time-string>valid local date and time string</a> representing the
user's selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
@@ -42064,12 +42061,14 @@ <h6 id=number-state><span class=secno>4.10.7.1.13 </span><dfn title=attr-input-t
represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>, as
obtained from applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point
number values</a> to it. User agents must not allow the user to
set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that
is not a <a href=#valid-floating-point-number>valid floating point number</a>. If the user agent
provides a user interface for selecting a number, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to the <a href=#best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a floating point
number">best representation of the number representing the user's
selection as a floating point number</a>. User agents should
allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a non-empty
string that is not a <a href=#valid-floating-point-number>valid floating point number</a>. If
the user agent provides a user interface for selecting a number,
then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
the <a href=#best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a floating
point number">best representation of the number representing the
user's selection as a floating point number</a>. User agents
should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>

</div>

Loading

0 comments on commit 40975fc

Please sign in to comment.