diff options
Diffstat (limited to 'testing/web-platform/tests/svg/text/reftests/textpath-side-001-ref.svg')
-rw-r--r-- | testing/web-platform/tests/svg/text/reftests/textpath-side-001-ref.svg | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/text/reftests/textpath-side-001-ref.svg b/testing/web-platform/tests/svg/text/reftests/textpath-side-001-ref.svg new file mode 100644 index 0000000000..0e2008c328 --- /dev/null +++ b/testing/web-platform/tests/svg/text/reftests/textpath-side-001-ref.svg @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8"?> +<svg id="svg-root" + width="100%" height="100%" viewBox="0 0 480 360" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:html="http://www.w3.org/1999/xhtml"> + <g id="testmeta"> + <title>TextPath Side — 001</title> + <html:link rel="author" + title="Tavmjong Bah" + href="mailto:tavmjong@free.fr"/> + </g> + + <style id="test-font" type="text/css"> + /* Standard Font (if needed). */ + @font-face { + font-family: FreeSans; + src: url("fonts/FreeSans.woff") format("woff"), + local("FreeSans"); + } + text { font-family: FreeSans, sans-serif } + </style> + + <style id="test-style" type="text/css"> + /* Style that is being tested (if needed). */ + text { font-family: FreeSans, sans-serif } + </style> + + <defs> + <path id="TextPath" d="m 90,150 c 100,-100 200,100 300,0"/> + <path id="TextPathReversed" d="m 390,150 c -100,100 -200,-100 -300,0"/> + </defs> + + <g id="test-body-content" style="font-size:24px"> + <g transform="translate(0,0)"> + <use xlink:href="#TextPath" style="fill:none;stroke:lightblue"/> + <text> + <textPath xlink:href="#TextPath">Lorem ipsum dolor sit amet, consectetur adipisicing elit,</textPath> + </text> + </g> + <g transform="translate(0,75)"> + <use xlink:href="#TextPath" style="fill:none;stroke:lightblue"/> + <text> + <textPath xlink:href="#TextPath">Lorem ipsum dolor sit amet, consectetur adipisicing elit,</textPath> + </text> + </g> + <g transform="translate(0,150)"> + <use xlink:href="#TextPath" style="fill:none;stroke:lightblue"/> + <text> + <textPath xlink:href="#TextPathReversed">Lorem ipsum dolor sit amet, consectetur adipisicing elit,</textPath> + </text> + </g> + </g> + +</svg> |