summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/reference/svg-aliasing-002-ref.html
blob: be3b7d0b1d27b628a2034a725e3fa0f4bfb0c0f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<meta charset="utf-8">
<title>Writing modes test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<p>The test passes if you can see “1 2 3” (without the quotation marks) 3 times below going top-to-bottom.
If any of them is reversed (going bottom to top), the test fails.</p>
<svg
   xmlns="http://www.w3.org/2000/svg"
   width="300"
   height="600">
<g>
  <text x="50" y="50" style="writing-mode: vertical-rl; fill: blue;">1 2 3</text>
</g>
<g>
  <text x="125" y="50" style="writing-mode: vertical-rl; fill: blue;">1 2 3</text>
</g>
<g>
  <text x="200" y="80" style="writing-mode: vertical-rl; direction: rtl; fill: blue;">3 2 1</text>
</g>
</svg>