haikuwebkit/LayoutTests/fast/text/international/vertical-text-glyph-test.html

49 lines
1.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Vertical text metrics test</title>
<style>
body {
font-family: "HiraMinPro-W3";
font-size: 16pt;
}
#horizontal_TB {
-webkit-writing-mode: horizontal-tb;
}
#horizontal_BT {
-webkit-writing-mode: horizontal-bt;
}
#vertical_RL {
-webkit-writing-mode: vertical-rl;
}
#vertical_LR {
-webkit-writing-mode: vertical-lr;
}
#horizontal_TB_complex {
-webkit-writing-mode: horizontal-tb;
text-rendering: optimizelegibility;
}
#horizontal_BT_complex {
-webkit-writing-mode: horizontal-bt;
text-rendering: optimizelegibility;
}
#vertical_RL_complex {
-webkit-writing-mode: vertical-rl;
text-rendering: optimizelegibility;
}
#vertical_LR_complex {
-webkit-writing-mode: vertical-lr;
text-rendering: optimizelegibility;
}
</style>
</head>
<body>
<p>Simple text path</p>
<span id="vertical_RL">string「あ、変っ」。</span>
<hr>
<p>Complex text path</p>
<span id="vertical_RL_complex">string「あ、変っ」。</span>
</body>
</html>