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

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 UTC