Bug 1476304 - Exclude Georgian letters from the mapping used by text-transform:uppercase, due to lack of font support. r=gandalf

This commit is contained in:
Jonathan Kew 2018-07-27 14:35:04 +01:00
parent 8e526cc8b4
commit f5efd70ff6
3 changed files with 8 additions and 93 deletions

View File

@ -556,7 +556,14 @@ nsCaseTransformTextRunFactory::TransformString(
break;
}
ch = ToUpperCase(ch);
// Bug 1476304: we exclude Georgian letters U+10D0..10FF because of lack
// of widespread font support for the corresponding Mtavruli characters
// at this time (July 2018).
// This condition is to be removed once the major platforms ship with
// fonts that support U+1C90..1CBF.
if (ch < 0x10D0 || ch > 0x10FF) {
ch = ToUpperCase(ch);
}
break;
case NS_STYLE_TEXT_TRANSFORM_CAPITALIZE:

View File

@ -509,52 +509,6 @@
&#x0555;
&#x0556;
&#x0535;&#x0552; <!-- ARMENIAN SMALL LIGATURE ECH YIWN -->
&#x1C90;
&#x1C91;
&#x1C92;
&#x1C93;
&#x1C94;
&#x1C95;
&#x1C96;
&#x1C97;
&#x1C98;
&#x1C99;
&#x1C9A;
&#x1C9B;
&#x1C9C;
&#x1C9D;
&#x1C9E;
&#x1C9F;
&#x1CA0;
&#x1CA1;
&#x1CA2;
&#x1CA3;
&#x1CA4;
&#x1CA5;
&#x1CA6;
&#x1CA7;
&#x1CA8;
&#x1CA9;
&#x1CAA;
&#x1CAB;
&#x1CAC;
&#x1CAD;
&#x1CAE;
&#x1CAF;
&#x1CB0;
&#x1CB1;
&#x1CB2;
&#x1CB3;
&#x1CB4;
&#x1CB5;
&#x1CB6;
&#x1CB7;
&#x1CB8;
&#x1CB9;
&#x1CBA;
&#x1CBD;
&#x1CBE;
&#x1CBF;
&#x13F0;
&#x13F1;
&#x13F2;

View File

@ -509,52 +509,6 @@
&#x0585;
&#x0586;
&#x0587; <!-- ARMENIAN SMALL LIGATURE ECH YIWN -->
&#x10D0;
&#x10D1;
&#x10D2;
&#x10D3;
&#x10D4;
&#x10D5;
&#x10D6;
&#x10D7;
&#x10D8;
&#x10D9;
&#x10DA;
&#x10DB;
&#x10DC;
&#x10DD;
&#x10DE;
&#x10DF;
&#x10E0;
&#x10E1;
&#x10E2;
&#x10E3;
&#x10E4;
&#x10E5;
&#x10E6;
&#x10E7;
&#x10E8;
&#x10E9;
&#x10EA;
&#x10EB;
&#x10EC;
&#x10ED;
&#x10EE;
&#x10EF;
&#x10F0;
&#x10F1;
&#x10F2;
&#x10F3;
&#x10F4;
&#x10F5;
&#x10F6;
&#x10F7;
&#x10F8;
&#x10F9;
&#x10FA;
&#x10FD;
&#x10FE;
&#x10FF;
&#x13F8;
&#x13F9;
&#x13FA;