HTML/time: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎time element spec issues: editorial example fix submitted)
m (Added hyperlinks to <time> in the MDN.)
Line 1: Line 1:
Welcome to the Mozilla wiki page on the [[HTML5]] &lt;time&gt; element. Please feel free to contribute new test pages or new sections. -- [[User:Tantek|Tantek]]
Welcome to the Mozilla wiki page on the [[HTML5]] [https://developer.mozilla.org/en/HTML/Element/time &lt;time&gt;] element. Please feel free to contribute new test pages or new sections. -- [[User:Tantek|Tantek]]


{{stub}}
{{stub}}
Line 11: Line 11:
== time element spec issues ==
== time element spec issues ==
=== expand time ===
=== expand time ===
* 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>[https://developer.mozilla.org/en/HTML/Element/time &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
*** recorded/expanded on the WHATWG wiki: http://wiki.whatwg.org/wiki/Time_element#impedance_match_new_date_time_inputs

Revision as of 07:31, 18 September 2011

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

nesting time

Recorded on WHATWG wiki:

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) - and am pm handling

editorial example fix

Recorded on WHATWG wiki:

Posted to WHATWG list:

see also