Closed
Bug 635498
Opened 14 years ago
Closed 13 years ago
Make <input type='number'> behaves like <input type='text'>
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: mounir, Assigned: mounir)
References
Details
(Keywords: doc-bug-filed)
Attachments
(1 file, 1 obsolete file)
24.47 KB,
patch
|
sicking
:
review+
|
Details | Diff | Splinter Review |
This bug is only a step to fix bug 344616.
Attachment #513755 -
Flags: review?(jonas)
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs review]
Comment 1•14 years ago
|
||
Comment on attachment 513755 [details] [diff] [review]
Patch v1
>diff --git a/content/html/content/test/test_bug345512.html b/content/html/content/test/test_bug345512.html
>--- a/content/html/content/test/test_bug345512.html
>+++ b/content/html/content/test/test_bug345512.html
>@@ -286,21 +286,22 @@ function checkPatternValidity(element)
>
> var input = document.getElementById('i');
>
> // All input types should have the pattern attribute.
> checkPatternAttribute(input);
>
> // |validTypes| are the types which accept @pattern
> // and |invalidTypes| are the ones which do not accept it.
>-var validTypes = Array('text', 'password', 'search', 'telephone', 'email', 'url');
>+var validTypes = Array('text', 'password', 'search', 'telephone', 'email',
>+ 'url', 'number');
> var barredTypes = Array('hidden', 'reset', 'button', 'submit', 'image');
> var invalidTypes = Array('checkbox', 'radio', 'file');
> // TODO: 'datetime', 'date', 'month', 'week', 'time', 'datetime-local',
>-// 'number', 'range', ande 'color' do not accept the @pattern too but are
>+// 'range', ande 'color' do not accept the @pattern too but are
> // not implemented yet.
"ande" -> "and" while you're here?
Assignee | ||
Comment 2•14 years ago
|
||
Fix typo mentioned in comment 1 and fix a todo that was failing (I would like this patch to pass all tests).
Attachment #513755 -
Attachment is obsolete: true
Attachment #513755 -
Flags: review?(jonas)
Attachment #515611 -
Flags: review?(jonas)
Attachment #515611 -
Flags: review?(jonas) → review+
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs review] → [ready to land][waits for dependencies]
Assignee | ||
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [ready to land][waits for dependencies]
Target Milestone: --- → mozilla16
Assignee | ||
Updated•13 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•