[Webkit-unassigned] [Bug 37024] New: Implement value sanitization algorithms
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 2 08:16:39 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37024
Summary: Implement value sanitization algorithms
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://www.whatwg.org/specs/web-apps/current-work/mult
ipage/the-input-element.html#value-sanitization-algori
thm
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tkent at chromium.org
Blocks: 19264
Quotes from the spec:
* text, search, tel, url, email, password
The value sanitization algorithm is as follows: Strip line breaks from the
value.
* datetime
The value sanitization algorithm is as follows: If the value of the element is
a valid global date and time string, then adjust the time so that the value
represents the same point in time but expressed in the UTC time zone,
otherwise, set it to the empty string instead.
* date
The value sanitization algorithm is as follows: If the value of the element is
not a valid date string, then set it to the empty string instead.
* month
The value sanitization algorithm is as follows: If the value of the element is
not a valid month string, then set it to the empty string instead.
* week
The value sanitization algorithm is as follows: If the value of the element is
not a valid week string, then set it to the empty string instead.
* time
The value sanitization algorithm is as follows: If the value of the element is
not a valid time string, then set it to the empty string instead.
* datetime-local
The value sanitization algorithm is as follows: If the value of the element is
not a valid local date and time string, then set it to the empty string
instead.
* number
The value sanitization algorithm is as follows: If the value of the element is
not a valid floating point number, then set it to the empty string instead.
* range
The value sanitization algorithm is as follows: If the value of the element is
not a valid floating point number, then set it to a valid floating point number
that represents the default value.
* color
The value sanitization algorithm is as follows: If the value of the element is
a valid simple color, then set it to the value of the element converted to
ASCII lowercase; otherwise, set it to the string "#000000".
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list