Bug 1357432 - Part 4. Reftest for using local-ref as xlink:href value. r=heycam
authorcku <cku@mozilla.com>
Tue, 18 Apr 2017 23:58:43 +0800
changeset 354045 032d23aaffe3a22a2b158e2d30bc26183799bed0
parent 354044 92f7611393f631a0de8d192d261dd1cf3f9b2d25
child 354046 7ab7f74c36a233444da15a80448e7045b086ad5b
push id31685
push userkwierso@gmail.com
push dateThu, 20 Apr 2017 21:45:29 +0000
treeherdermozilla-central@5e3dc7e1288a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1357432
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1357432 - Part 4. Reftest for using local-ref as xlink:href value. r=heycam MozReview-Commit-ID: HoKf7vNSneE
layout/reftests/svg/reftest.list
layout/reftests/svg/use-localRef-link.html
--- a/layout/reftests/svg/reftest.list
+++ b/layout/reftests/svg/reftest.list
@@ -507,16 +507,17 @@ fuzzy-if(skiaContent,1,100) == tspan-xy-
 == use-children.svg pass.svg
 
 # test case for Fragment URLs
 # https://drafts.csswg.org/css-values/#local-urls
 == use-localRef-marker-01.svg use-localRef-marker-01-ref.svg
 == use-localRef-clipPath-01.svg use-localRef-clipPath-01-ref.svg
 == use-localRef-filter-01.svg use-localRef-filter-01-ref.svg
 == use-localRef-fill-01.svg use-localRef-fill-01-ref.svg
+== use-localRef-link.html pass.svg
 == use-localRef-stroke-01.svg use-localRef-stroke-01-ref.svg
 == use-localRef-mask-01.svg use-localRef-mask-01-ref.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
 == viewBox-and-pattern-03.svg pass.svg
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/use-localRef-link.html
@@ -0,0 +1,15 @@
+<!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>
+