User:Mounir.lamouri/HTML5 Forms: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Add new input type in the summary list)
m (→‎Summary: add comment)
Line 78: Line 78:
|Constraint Validation API
|Constraint Validation API
|Misc
|Misc
|Implement the constraint validation API
|Implement the constraint validation API (constraints come with attributes)
|[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

Revision as of 15:05, 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.


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 (constraints come with attributes) 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
url New input type New input type for url's/uri's bug 344615 None
color New input type New input type for colors TBD None
telephone New input type New input type for telephone numbers TBD None
number New input type New input type for numbers TBD None
range New input type New input type for floating numbers TBD None
date New input type New input type related to date/time TBD None
datetime New input type New input type related to date/time TBD None
month New input type New input type related to date/time TBD None
week New input type New input type related to date/time TBD None
time New input type New input type related to date/time TBD None
datetime-local New input type New input type related to date/time TBD None