mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02: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.
10 lines
196 B
HTML
10 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>
|
|
|
|
|