summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/reference/svg-aliasing-001-ref.html
blob: 75461923ea86a1d53d86bdaa69c09067dde6dbcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!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” 6 times below (without the quotation marks). If any of them is reversed (“3 2 1”) the test fails.</p>
<svg
   xmlns="http://www.w3.org/2000/svg"
   width="300"
   height="600">
<g>
  <text x="0" y="50" style="fill: blue;">1 2 3</text>
  <text x="0" y="150" style="fill: blue;">1 2 3</text>
</g>
<g>
  <text x="150" y="50" style="fill: blue;">1 2 3</text>
  <text x="150" y="150" style="fill: blue;">1 2 3</text>
</g>
<g>
  <text x="300" y="50" style="direction: rtl; fill: blue;">3 2 1</text>
  <text x="300" y="150" style="direction: rtl; fill: blue;">3 2 1</text>
</g>
</svg>