User:Mounir.lamouri/HTML5 Forms: Difference between revisions
(listed element in the summary list) |
(→Summary: change color for not implemented) |
||
| Line 99: | Line 99: | ||
|[https://bugzilla.mozilla.org/show_bug.cgi?id=345624 bug 345624] | |[https://bugzilla.mozilla.org/show_bug.cgi?id=345624 bug 345624] | ||
|Pending review | |Pending review | ||
|- style="background: | |- style="background:#ff3000;" | ||
|keygen | |keygen | ||
|New listed element | |New listed element | ||
|Implement keygen element (there is a hack at the moment) | |Implement keygen element (there is a hack at the moment) | ||
|[https://bugzilla.mozilla.org/show_bug.cgi?id=101019 bug 101019] | |[https://bugzilla.mozilla.org/show_bug.cgi?id=101019 bug 101019] | ||
| | |None | ||
|- style="background: | |- style="background:#ff3000;" | ||
|datalist | |datalist | ||
|New listed element | |New listed element | ||
|Implement the datalist | |Implement the datalist | ||
|[https://bugzilla.mozilla.org/show_bug.cgi?id=555840 bug 555840] | |[https://bugzilla.mozilla.org/show_bug.cgi?id=555840 bug 555840] | ||
| | |None | ||
|- style="background: | |- style="background:#ff3000;" | ||
|output | |output | ||
|New listed element | |New listed element | ||
|Implement the output element | |Implement the output element | ||
|[https://bugzilla.mozilla.org/show_bug.cgi?id=346485 bug 346485] | |[https://bugzilla.mozilla.org/show_bug.cgi?id=346485 bug 346485] | ||
| | |None | ||
|} | |} | ||
Revision as of 14:52, 30 March 2010
HTML5 Forms is a part of the HTML5 specifications about forms. It introduces new elements, and new input types which aim to help web developers to not re-invent what is already well known. For example, with HTML5 Forms, web developers will not have to write javascript code to tell you a field is required or to check your email address is valid.
Implementation status
Wikipedia offers a non-exhaustive overview of the implementation for the main layout engines: http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28HTML5%29#Form_elements_and_attributes
A comparison between the different browsers: http://www.findmebyip.com/litmus/#html5-forms-inputs
Priorities
In an ideal word, it would be great to begin with missing listed elements and content implementation of new input types. Then, constraint validation API and new attributes would be doable in one shot instead of implementation a part of the specification then adding what is specific to the new element/input type.
New Input Types/States
- search
- url
- telephone
- date and time
- date
- month
- week
- time
- local date and time
- number
- range
- color
Constraint Validation API
There is a main bug about the API implementation: bug 345624
New attributes
foo
Non-listed elements
- progress
- meter
Specific UI for new input types
bar
Summary
| Name | Type | Description | Bug ID(s) | Status |
|---|---|---|---|---|
| Placeholder | New Attribute | The placeholder shows a hint to the user | bug 457800 | Done |
| Maxlength | New attribute | Limit the text length of an input or textarea element | bug 535043 bug 536891 bug 536895 | Done |
| Search | New input type | New input type for search boxes | bug 456229 | Pending review |
| Autofocus | New attribute | Focus an element on the page load | bug 546995 | Pending review |
| Button type behavior | Misc/Bug fix | Fix the button type behavior to fit the new specifications | bug 551670 | Pending review |
| Select size relation with multiple | Misc/Bug fix | Set the default element size depending on the multiple attribute | bug 551846 | Pending review |
| Legend element and form attribute | Misc/Bug fix | Legend element form has to be the fieldset form or null | bug 555567 | Pending review |
| Constraint Validation API | Misc | Implement the constraint validation API | bug 345624 | Pending review |
| Constraint Validation API | Misc | Implement the constraint validation API | bug 345624 | Pending review |
| keygen | New listed element | Implement keygen element (there is a hack at the moment) | bug 101019 | None |
| datalist | New listed element | Implement the datalist | bug 555840 | None |
| output | New listed element | Implement the output element | bug 346485 | None |