Index: LayoutTests/svg/paintorder/paintorder-text-decorations-expected.svg |
diff --git a/LayoutTests/svg/paintorder/paintorder-text-decorations-expected.svg b/LayoutTests/svg/paintorder/paintorder-text-decorations-expected.svg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c209d88a77c75417fa0f75e0332d0923abf9b4e3 |
--- /dev/null |
+++ b/LayoutTests/svg/paintorder/paintorder-text-decorations-expected.svg |
@@ -0,0 +1,66 @@ |
+<svg viewBox="-10 -10 280 220" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
+ <style> |
+ text { |
+ text-decoration: underline; |
+ } |
+ </style> |
+ <defs> |
+ <marker id="m" refX="5" refY="5" viewBox="0 0 10 10" overflow="visible"> |
+ <circle cx="5" cy="5" r="3" fill="black" stroke="black" fill-opacity="0.5"/> |
+ </marker> |
+ <svg id="poly" viewBox="-10 -10 420 420"> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="blue" stroke="lime" stroke-width="10" stroke-opacity="0.5" style="marker: url(#m)">test</text> |
+ </svg> |
+ <svg id="poly-f-m-s" viewBox="-10 -10 420 420"> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="blue" stroke-width="10" stroke-opacity="0.5" style="marker: url(#m); text-decoration: underline">test</text> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="none" stroke="lime" stroke-width="10" stroke-opacity="0.5">test</text> |
+ </svg> |
+ <svg id="poly-m-f-s" viewBox="-10 -10 420 420"> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="none" stroke-width="10" stroke-opacity="0.5" style="marker: url(#m)">test</text> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="blue" stroke-width="10" stroke-opacity="0.5">test</text> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="none" stroke="lime" stroke-width="10" stroke-opacity="0.5">test</text> |
+ </svg> |
+ <svg id="poly-s-m-f" viewBox="-10 -10 420 420"> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="none" stroke="lime" stroke-width="10" stroke-opacity="0.5">test</text> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="none" stroke-width="10" stroke-opacity="0.5" style="marker: url(#m)">test</text> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="blue" stroke-width="10" stroke-opacity="0.5">test</text> |
+ </svg> |
+ <svg id="poly-s-f-m" viewBox="-10 -10 420 420"> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="none" stroke="lime" stroke-width="10" stroke-opacity="0.5">test</text> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="blue" stroke-width="10" stroke-opacity="0.5">test</text> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="none" stroke-width="10" stroke-opacity="0.5" style="marker: url(#m)">test</text> |
+ </svg> |
+ <svg id="poly-m-s-f" viewBox="-10 -10 420 420"> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="none" stroke-width="10" stroke-opacity="0.5" style="marker: url(#m)">test</text> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="none" stroke="lime" stroke-width="10" stroke-opacity="0.5">test</text> |
+ <text y="300" font-family="sans-serif" font-size="200" fill="blue" stroke-width="10" stroke-opacity="0.5">test</text> |
+ </svg> |
+ </defs> |
+ |
+ <use xlink:href="#poly" width="50" height="50"/> |
+ <use xlink:href="#poly" width="50" height="50" x="50"/> |
+ |
+ <g transform="translate(0,50)"> |
+ <use xlink:href="#poly" width="50" height="50" x="0"/> |
+ <use xlink:href="#poly" width="50" height="50" x="50"/> |
+ <use xlink:href="#poly" width="50" height="50" x="100"/> |
+ <use xlink:href="#poly-f-m-s" width="50" height="50" x="150"/> |
+ <use xlink:href="#poly-f-m-s" width="50" height="50" x="200" /> |
+ </g> |
+ |
+ <g transform="translate(0,100)"> |
+ <use xlink:href="#poly-s-f-m" width="50" height="50" x="0"/> |
+ <use xlink:href="#poly-s-f-m" width="50" height="50" x="50"/> |
+ <use xlink:href="#poly-s-f-m" width="50" height="50" x="100"/> |
+ <use xlink:href="#poly-s-m-f" width="50" height="50" x="150"/> |
+ <use xlink:href="#poly-s-m-f" width="50" height="50" x="200"/> |
+ </g> |
+ |
+ <g transform="translate(0,150)"> |
+ <use xlink:href="#poly-m-f-s" width="50" height="50" x="0"/> |
+ <use xlink:href="#poly-m-s-f" width="50" height="50" x="50"/> |
+ <use xlink:href="#poly-m-s-f" width="50" height="50" x="100"/> |
+ <use xlink:href="#poly-m-f-s" width="50" height="50" x="150"/> |
+ <use xlink:href="#poly-m-f-s" width="50" height="50" x="200"/> |
+ </g> |
+</svg> |