W3C home > Mailing lists > Public > www-style@w3.org > April 2012

[css3-gcpm] env() ISSUE 1

From: Werner Donné <werner.donne@pincette.biz>
Date: Mon, 23 Apr 2012 17:08:20 +0200
To: www-style@w3.org
Message-Id: <D84C8006-0A74-45B2-BF38-7F5DD6075628@pincette.biz>
Hello,

This issue in section 2.1.1 of the editor's draft [1] asks if there should be a way to specify the locale. I wouldn't think so, because the locale of the element for which the "string-set" property is set can be determined and used. The user's system has no relationship with the document, so it should only act as a default locale for the document.

For the formatting of dates and times an optional second parameter could be used. Values like "short", "medium" and "long" could provide for locale-dependent formatting, while a picture string, as defined in [2] for example, could be used to fix the format.

Best regards,

Werner.

[1] http://dev.w3.org/csswg/css3-gcpm/#setting-named-strings-the-string-set-pro
[2] http://www.w3.org/TR/2007/REC-xslt20-20070123/#date-picture-string
--
http://www.pincette.biz/
Handling your documents with care, wherever you are.
Received on Monday, 23 April 2012 15:08:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT