diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/svg/text/reftests/text-complex-002-ref.svg | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/svg/text/reftests/text-complex-002-ref.svg')
-rw-r--r-- | testing/web-platform/tests/svg/text/reftests/text-complex-002-ref.svg | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/text/reftests/text-complex-002-ref.svg b/testing/web-platform/tests/svg/text/reftests/text-complex-002-ref.svg new file mode 100644 index 0000000000..3d3968fa49 --- /dev/null +++ b/testing/web-platform/tests/svg/text/reftests/text-complex-002-ref.svg @@ -0,0 +1,74 @@ +<?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>Text in Shape — 002</title> + <html:link rel="author" + title="Tavmjong Bah" + href="mailto:tavmjong@free.fr"/> + <html:link rel="reviewer" + title="NAME_OF_REVIEWER" + href="mailto:EMAIL OR http://CONTACT_PAGE" /> + <!-- YYYY-MM-DD --> + <html:link rel="help" + href="https://svgwg.org/svg2-draft/text.html#TextShapeInside"/> + <metadata class="flags">TOKENS</metadata> + <desc class="assert">TEST ASSERTION</desc> + </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> + <circle id="Circle1" cx="360" cy="180" r="100"/> + <circle id="Circle2" cx="120" cy="240" r="100"/> + <rect id="Rect1" x="120" y="80" width="240" height="80" style="shape-margin: 20px;"/> + <rect id="Rect2" x="120" y="260" width="240" height="80" style="shape-margin: 20px;"/> + <circle id="Circle1x" cx="360" cy="180" r="80"/> + <circle id="Circle2x" cx="120" cy="240" r="80"/> + <rect id="Rect1x" x="100" y="60" width="280" height="120"/> + <rect id="Rect2x" x="100" y="240" width="280" height="120"/> + </defs> + + <g style="fill:none;stroke:lightblue"> + <use xlink:href="#Rect1" /> + <use xlink:href="#Rect2" /> + <use xlink:href="#Circle1" /> + <use xlink:href="#Circle2" /> + </g> + <g style="fill:none;stroke:lightblue;stroke-dasharray:5 5"> + <use xlink:href="#Rect1x" /> + <use xlink:href="#Rect2x" style="shape-margin: 20px;" /> + <use xlink:href="#Circle1x" /> + <use xlink:href="#Circle2x" /> + </g> + + <g id="test-body-reference" style="font-size:16px;direction:rtl"> + <text style="text-anchor:middle"> + <tspan x="398.9" y="137.9">لكن</tspan> + <tspan x="406.1" y="158.5">لا بد أن</tspan> + <tspan x="408.9" y="179.2">أوضح لك</tspan> + <tspan x="360.0" y="199.8">أن كل هذه الأفكار</tspan> + <tspan x="360" y="220.5">المغلوطة حول</tspan> + <tspan x="120" y="197.8">استنكار النشوة</tspan> + <tspan x="120" y="218.5">وتمجيد الألم نشأت</tspan> + <tspan x="76.0" y="239.1">بالفعل،</tspan> + </text> + </g> + +</svg> |