Open Bug 1761482 Opened 2 years ago Updated 2 years ago

Re-enable text-transform:uppercase for Georgian

Categories

(Core :: Internationalization, defect, P3)

Firefox 98
defect

Tracking

()

People

(Reporter: ishida, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

SUMMARY: Case conversion using CSS text-transform from lower to uppercase was temporarily disabled for Georgian in https://bugzilla.mozilla.org/show_bug.cgi?id=1476304 because of lack of font support at that time for the Mtavruli characters introduced in Unicode 11. Font support is now there for the more modern pre-installed fonts on Windows, Linux and Mac, so this is a request to remove the workaround

Details follow:

Actual results:

Dedicated mtavruli Unicode characters were only introduced in Unicode v11 (2018). Prior to that, authors had to use special fonts with the mkhedruli code points in order to write mtavruli letters, and CSS text-transforms (ie. to uppercase) had no effect. Unicode 11 introduced not just the new characters, but also mappings from mkhedruli (lowercase) to mtavruli (uppercase).

This was particularly problematic in pages that are translations of content that was originally in the Latin script, and which applied CSS text-transforms to some text. Prior to Unicode11, there was no need to remove the CSS styling from translated pages, since no text-transform had any effect. Post Unicode 11, however, the mapping to mtavruli characters was being applied and tends to produce tofu.

This situation lead Chrome and Firefox in 2018 to add workarounds to their browsers that prevented the conversion of Mkhedruli characters to Mtavruli when using CSS text-transform:uppercase. (Conversion from Mtavruli to Mkhedruli works, however.) This workaround is still in place, even though there is now better support for Mtavruli in pre-installed fonts on both the Mac and Windows platforms.

Note that Mtavruli is only used for ALL CAPS typography, and is not used at the beginning of a sentence or for proper nouns, so this only affects the uppercase value of text-transform.

<b class="subhead">Specs:</b>
css-text-3 describes the text-transform property. There is no information specifically relating to Georgian.

<b class="subhead">Tests & results:</b>
<i>i18n test suite</i>, Georgian mkhedruli/mtavruli

Results for all uppercase conversion tests:

  • Gecko:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0
  • Blink:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36
  • Webkit:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

For information about font support for Mtavruli characters, see https://github.com/w3c/eurlreq/issues/19

This bug report is being tracked by the W3C at https://github.com/w3c/eurlreq/issues/19.
The same bug report was raised for Blink engine browsers at https://bugs.chromium.org/p/chromium/issues/detail?id=1310251
WebKit works fine.

Status: UNCONFIRMED → NEW
Component: Untriaged → Internationalization
Ever confirmed: true
Product: Firefox → Core

The severity field is not set for this bug.
:m_kato, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(m_kato)
Severity: -- → S3
Flags: needinfo?(m_kato)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.