- From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
- Date: Mon, 7 May 2012 11:11:07 +0100
On Mon, May 7, 2012 at 9:32 AM, Bronislav Klu?ka <Bronislav.Klucka at bauglir.com> wrote: > I can see you are pushing for CSS because of presentation level, but > 1/ you need to display currency or number, what would you do? > <span style="format-type: number; format-decimal-separator: > ',';">123.22</span> > something like that? I can see that, but would be better something like > <data role=number value=123.22 style="format-type: number; > format-decimal-separator: ',';" /> > <data role=currency value=2.22 char=$ style="format-type: number; > format-decimal-separator: ','; format-currency-format: 2" /> > this could enhance machine processing capabilities. Compare: http://wiki.csswg.org/ideas/content-formatting http://lists.w3.org/Archives/Public/www-style/2012Mar/0575.html -- Benjamin Hawkes-Lewis
Received on Monday, 7 May 2012 03:11:07 UTC