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

From MozillaWiki
Jump to navigation Jump to search
(→‎Priorities: new organization)
(draft of the table)
Line 56: Line 56:
=== Specific UI for new input types ===
=== Specific UI for new input types ===
bar
bar
== Summary ==
{| border="1" cellpadding="10" cellspacing="0"
! Name
! Type
! Description
! Bug ID(s)
! Status
|- style="background:#00ef00;"
|Placeholder
|New Attribute
|The placeholder shows a hint to the user
|[https://bugzilla.mozilla.org/show_bug.cgi?id=457800 bug 457800]
|Done
|- style="background:#00ef00;"
|Maxlength
|New attribute
|Limit the text length of an input or textarea element
|[https://bugzilla.mozilla.org/show_bug.cgi?id=535043 bug 535043] [https://bugzilla.mozilla.org/show_bug.cgi?id=536891 bug 536891] [https://bugzilla.mozilla.org/show_bug.cgi?id=536895 bug 536895]
|Done
|- style="background:orange;"
|Search
|New input type
|New input type for search boxes
|[https://bugzilla.mozilla.org/show_bug.cgi?id=456229 bug 456229]
|Pending review
|}

Revision as of 14:37, 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

What have been done

What we are working on

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.

Listed Elements

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