mirror of
https://github.com/servo/servo.git
synced 2025-06-10 17:43:16 +00:00
The Unicode awareness of `text-transform` is implemented as well as possible given the Rust standard library's Unicode support. In particular, the notion of an alphabetic character is used instead of a letter. Gecko has a subclass of text run to handle text transforms, but I implemented this in a simpler way.
9 lines
196 B
HTML
9 lines
196 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<!-- Tests that `text-transform: lowercase` works. -->
|
|
<body>
|
|
<h1 style='font-family: Hiragino Maru Gothic Pro'>you can do ánything at ゾムボ.com</h1>
|
|
</body>
|
|
</html>
|
|
|
|
|