summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-05 02:00:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-05 02:00:48 +0200
commit6a7071fdead529d92cb27954523b3bfc4b16d1c8 (patch)
tree303622d3452ebd43e8926611e6d89bb2248b9145
parent246edb5332e3d1415a4949a76e09ff951d5e497d (diff)
downloadUXP-6a7071fdead529d92cb27954523b3bfc4b16d1c8.tar
UXP-6a7071fdead529d92cb27954523b3bfc4b16d1c8.tar.gz
UXP-6a7071fdead529d92cb27954523b3bfc4b16d1c8.tar.lz
UXP-6a7071fdead529d92cb27954523b3bfc4b16d1c8.tar.xz
UXP-6a7071fdead529d92cb27954523b3bfc4b16d1c8.zip
Part 4. Reftest for using local-ref as xlink:href value.
-rw-r--r--layout/reftests/svg/reftest.list1
-rw-r--r--layout/reftests/svg/use-localRef-link.html16
2 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/svg/reftest.list b/layout/reftests/svg/reftest.list
index 520adc9e6..096628681 100644
--- a/layout/reftests/svg/reftest.list
+++ b/layout/reftests/svg/reftest.list
@@ -396,6 +396,7 @@ fuzzy-if(skiaContent,1,300) == tspan-xy-05.svg tspan-xy-ref.svg # bug 773482
fuzzy-if(skiaContent,1,300) == tspan-xy-06.svg tspan-xy-ref.svg # bug 773482
fuzzy-if(skiaContent,1,100) == tspan-xy-anchor-middle-01.svg tspan-xy-anchor-middle-ref.svg # bug 773482
fuzzy-if(skiaContent,1,100) == tspan-xy-anchor-end-01.svg tspan-xy-anchor-end-ref.svg # bug 773482
+== use-localRef-link.html pass.svg
== userSpaceOnUse-and-pattern-01.svg userSpaceOnUse-and-pattern-01-ref.svg
== viewBox-and-pattern-01.svg pass.svg
== viewBox-and-pattern-02.svg pass.svg
diff --git a/layout/reftests/svg/use-localRef-link.html b/layout/reftests/svg/use-localRef-link.html
new file mode 100644
index 000000000..672e9ffaa
--- /dev/null
+++ b/layout/reftests/svg/use-localRef-link.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<head>
+<base href="/test">
+</head>
+<body style="background-color: lime;">
+ <svg width="100" height="100">
+ <defs>
+ <rect id="a" x="0" y="0" width="50" height="50" fill="lime"/>
+ </defs>
+ <rect x="0" y="0" width="50" height="50" fill="red"/>
+ <use xlink:href="#a"/>
+ </svg>
+</body>
+</html>
+
+