summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/reference/svg-aliasing-002-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-writing-modes/reference/svg-aliasing-002-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/reference/svg-aliasing-002-ref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-writing-modes/reference/svg-aliasing-002-ref.html b/testing/web-platform/tests/css/css-writing-modes/reference/svg-aliasing-002-ref.html
new file mode 100644
index 0000000000..be3b7d0b1d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/reference/svg-aliasing-002-ref.html
@@ -0,0 +1,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>
+