HTML/time: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎expand time: recorded on whatwg wiki)
Line 13: Line 13:
* expand <code>&lt;time&gt;</code> and new date/time <code>&lt;input&gt;</code> elements to be consistent and reflect more real world use cases
* expand <code>&lt;time&gt;</code> and new date/time <code>&lt;input&gt;</code> elements to be consistent and reflect more real world use cases
** impedance match. handle the same set of year, month, date, time variants/subsets between the two. what is taken as input is nearly always displayed as output - the use cases are analogous/parallel.
** impedance match. handle the same set of year, month, date, time variants/subsets between the two. what is taken as input is nearly always displayed as output - the use cases are analogous/parallel.
*** recorded/expanded on the WHATWG wiki: http://wiki.whatwg.org/wiki/Time_element#impedance_match_new_date_time_inputs
** more inputs/times. expand both time/input to handle additional real world cases
** more inputs/times. expand both time/input to handle additional real world cases
*** YYYY
*** YYYY
*** --MM-DD
*** --MM-DD
*** recorded/expanded on the WHATWG wiki: http://wiki.whatwg.org/wiki/Input_element
=== nesting time ===
=== nesting time ===
for better DRY:
for better DRY:

Revision as of 02:32, 6 August 2010

Welcome to the Mozilla wiki page on the HTML5 <time> element. Please feel free to contribute new test pages or new sections. -- Tantek

This article is a stub. You can help MozillaWiki by expanding it.

time element test pages

  • ...

time element demo pages

  • ...

time element spec issues

expand time

  • expand <time> and new date/time <input> elements to be consistent and reflect more real world use cases

nesting time

for better DRY:

  • improve <time> element to support uses analogous to the microformats "value class pattern" date and time separation use case (compose nested <time> elements into a single date and time)
    • perhaps even use a <time> to compose multiple nested date/time <input> elements for specific date/time components into a single date and/or time.

see also