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

Fixing uppercase transformations for Greek text

From: Panos Astithas <past@mozilla.com>
Date: Wed, 18 Jan 2012 12:48:47 +0200
Message-ID: <CACvVhd6sQVQi_TTNxzEZA6TvFda7qnFWUtC=_rC652Xmg+A0Qg@mail.gmail.com>
To: www-style@w3.org
Hello,

a while ago there has been some brief discussion about the problem with
text-transform:uppercase; and font-variant:small-caps; and the Greek
language:

http://lists.w3.org/Archives/Public/www-style/2011May/0602.html

I was informed that this is an open issue in the current spec, but I can't
tell whether this has been resolved already and if so, what has that
resolution been:

http://www.w3.org/TR/css3-text/#text-transform

In any case I have implemented the proper uppercasing rules for the Greek
language in a patch for Firefox:

https://bugzilla.mozilla.org/show_bug.cgi?id=307039

The rules are contained in the TransformToUpperCase function and deal with
corner cases like diphthongs and combining diacritics. You can verify the
correctness by grabbing a build from the following link and visiting a page
that exhibits the bug:

http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/pastithas@mozilla.com-40b52d3fc85b/

It's a little hard to find pages with this transformation in Greek text,
because authors have learned to steer clear of it due to its brokenness,
but the Android Market site does suffer from it.

My question to the group is whether this corrected behavior should be
mandated by the spec (which would definitely delight all Greek-speaking web
users) and if not, whether this implementation is in accordance to the
current phrasing of the spec.

Cheers,
Panos
Received on Wednesday, 18 January 2012 15:49:50 GMT

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