layout: Add initial support for text-transform (#31396)

This adds basic support for `text-transform` in a way that is more
complete than legacy layout. There are still many missing elements of
proper `text-transform` support such as:

1. Support for `full-width` and `full-size-kana`
2. Support for grapheme based uppercasing, lowercasing, and
   capitalization. These are all done per-code point right now.
3. Support for the language-specific `SpecialCasing.txt` cases for case
   mapping such as the ones for Irish and Turkish.

Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
This commit is contained in:
Martin Robinson 2024-02-22 15:15:59 +01:00 committed by GitHub
parent f60e5e767b
commit d8b326528b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
105 changed files with 181 additions and 292 deletions

View file

@ -1,2 +0,0 @@
[c545-txttrans-000.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-003.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-005.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-003.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-005.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-006.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-007.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-008.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-009.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-010.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-011.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-014.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-applies-to-015.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-bicameral-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-bicameral-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-bicameral-008.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-bicameral-009.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-bicameral-010.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-bicameral-012.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-bicameral-013.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-bicameral-015.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-cap-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-cap-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-lowercase-001.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-transform-unicase-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-uppercase-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-uppercase-002.xht]
expected: FAIL