W3C home > Mailing lists > Public > www-style@w3.org > November 2011

[selectors4] [css3-writing-modes] localization requests

From: Markus Mielke <mmielke@microsoft.com>
Date: Tue, 8 Nov 2011 01:04:06 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <3E9E1784F1E0E44EBF717A5338C11D430AFDF8EE@TK5EX14MBXC274.redmond.corp.microsoft.com>
As part of the Windows 8 plans to allow Metro-style applications to be built on HTML5, CSS and Javascript, we have now a default stylesheet that expresses Windows default look and feel through CSS. We are localizing this style-sheet in 100+ languages and looking for ways to improve performance.

In that regard, we would like to ask the working group to think about the following requirements /ideas:

1) Allow matching using extended language ranges (see section 2.2 of RFC 4647 @ http://www.rfc-editor.org/rfc/rfc4647.txt).  Be able to use something like "*-Arab" to match any language tag that includes the Arab subtag. In particular, match against language tags in which Arabic script is considered to be implied; e.g., apply "*-Arab" to match "ar" or "ar-EG".

2) Repeating selectors to make them specific to a group of languages.  Having lang take a list of languages would help. Instead of .foo>  .bar:lang(a), .foo>  .bar:lang(b), .foo>  .bar:lang(c) { property: value; }  we could have .foo>  .bar:lang(a, b, c) { property: value; } In this example a, b, c might be the set of languages that all use the Ebrima font.

3) Apply logical properties for margin, border, padding, width/height, float, text-align, vertical-align, top, right, bottom, left, etc. 

Thanks
-- Markus



Received on Tuesday, 8 November 2011 01:04:43 GMT

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