[Bug 13240] Consider replacing <time> with <data>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13240

--- Comment #41 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-10-20 20:03:24 UTC ---
(In reply to comment #39)
> 
> My immediate thought was that <data> would have to take different attributes -
> which could even be empty/boolean-ish, and which would be used depending on the
> kind of data: [...]
> 
> Was differentiated attributes part of your thinking behind <data>, Mr Editor?

No, Mr Contributor. :-) Having multiple attributes would lead to confusing
questions about precedence, would make it hard to integrate into processing
models such as microdata, and would lead to a huge number of attributes as we
kept coming up with new types. I don't see much value in doing that. One
attribute would likely be sufficient.

(In reply to comment #40)
> 
> <span data-long-form="true" data-time="1318428815000" class="_timestamp">6
> minutes ago</span>
> 
> <strong date="1318425833">(Chinese) 2 minutes ago</strong>

Looks like a <data> element would handle these pretty well.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 20 October 2011 20:03:31 UTC