mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
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:
parent
f60e5e767b
commit
d8b326528b
105 changed files with 181 additions and 292 deletions
|
@ -107,7 +107,7 @@ tempfile = "3"
|
|||
tendril = { version = "0.4.1", features = ["encoding_rs"] }
|
||||
time = { workspace = true }
|
||||
unicode-bidi = { workspace = true }
|
||||
unicode-segmentation = "1.1.0"
|
||||
unicode-segmentation = { workspace = true }
|
||||
url = { workspace = true }
|
||||
utf-8 = "0.7"
|
||||
uuid = { workspace = true, features = ["serde"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue