Bug 1415963 - Add a reftest. r=mstange draft
authorBotond Ballo <botond@mozilla.com>
Mon, 13 Nov 2017 19:35:58 -0500
changeset 698434 fc7117ba005a378e6746305e4c5966b7a566920e
parent 697428 ceb52d8f5c57259f99ac819fa4e7cfda92bd893e
child 698522 95bc906f923de229f6af63473f263e07d81e60ff
push id89285
push userbballo@mozilla.com
push dateWed, 15 Nov 2017 18:25:41 +0000
reviewersmstange
bugs1415963
milestone59.0a1
Bug 1415963 - Add a reftest. r=mstange MozReview-Commit-ID: kbVHp3lqCU
layout/reftests/svg/svg-integration/clip-path/clip-path-stroke-001-ref.html
layout/reftests/svg/svg-integration/clip-path/clip-path-stroke-001.html
layout/reftests/svg/svg-integration/clip-path/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/svg-integration/clip-path/clip-path-stroke-001-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta charset="utf-8">
+</head>
+<body>
+  <svg width="367" height="146.8" style="overflow: hidden;" aria-label="A chart.">
+    <g>
+      <rect x="20" y="22" width="297" height="119" stroke="none" stroke-width="0" fill-opacity="0" fill="#ffffff"></rect>
+      <g>
+        <g>
+          <rect x="20" y="140" width="297" height="1" stroke="none" stroke-width="0" fill="#dddddd"></rect>
+        </g>
+        <g>
+          <path d="M25.785714285714285,131.35382L36.35714285714286,140.5L46.92857142857143,136.76864333333333L57.5,140.5L68.07142857142857,140.5L78.64285714285714,108.29988466666667L89.21428571428571,140.5L99.78571428571428,138.777318L110.35714285714286,140.5L120.92857142857143,136.838106L131.5,136.09950466666666L142.07142857142856,137.82533333333333L152.64285714285714,128.40448866666668L163.21428571428572,133.099748L173.78571428571428,140.5L184.35714285714286,125.99917666666667L194.92857142857142,127.75560666666667L205.5,134.93449066666668L216.07142857142856,125.536184L226.64285714285714,140.29468L237.21428571428572,138.080528L247.78571428571428,136.22847866666666L258.3571428571429,140.5L268.92857142857144,122.33464733333334L279.5,140.5L290.07142857142856,140.5L300.6428571428571,32.77095600000001L311.2142857142857,106.47371666666666" stroke="#5f8fc9" stroke-width="2" fill-opacity="1" fill="none"></path>
+        </g>
+      </g>
+    </g>
+  </svg>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/svg-integration/clip-path/clip-path-stroke-001.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta charset="utf-8">
+</head>
+<body>
+  <svg width="367" height="146.8" style="overflow: hidden;" aria-label="A chart.">
+    <defs id="defs">
+      <clipPath id="_ABSTRACT_RENDERER_ID_1">
+        <rect x="20" y="22" width="297" height="124"></rect>
+      </clipPath>
+    </defs>
+    <g>
+      <rect x="20" y="22" width="297" height="119" stroke="none" stroke-width="0" fill-opacity="0" fill="#ffffff"></rect>
+      <g clip-path="url(#_ABSTRACT_RENDERER_ID_1)">
+        <g>
+          <rect x="20" y="140" width="297" height="1" stroke="none" stroke-width="0" fill="#dddddd"></rect>
+        </g>
+        <g>
+          <path d="M25.785714285714285,131.35382L36.35714285714286,140.5L46.92857142857143,136.76864333333333L57.5,140.5L68.07142857142857,140.5L78.64285714285714,108.29988466666667L89.21428571428571,140.5L99.78571428571428,138.777318L110.35714285714286,140.5L120.92857142857143,136.838106L131.5,136.09950466666666L142.07142857142856,137.82533333333333L152.64285714285714,128.40448866666668L163.21428571428572,133.099748L173.78571428571428,140.5L184.35714285714286,125.99917666666667L194.92857142857142,127.75560666666667L205.5,134.93449066666668L216.07142857142856,125.536184L226.64285714285714,140.29468L237.21428571428572,138.080528L247.78571428571428,136.22847866666666L258.3571428571429,140.5L268.92857142857144,122.33464733333334L279.5,140.5L290.07142857142856,140.5L300.6428571428571,32.77095600000001L311.2142857142857,106.47371666666666" stroke="#5f8fc9" stroke-width="2" fill-opacity="1" fill="none"></path>
+        </g>
+      </g>
+    </g>
+  </svg>
+</body>
+</html>
--- a/layout/reftests/svg/svg-integration/clip-path/reftest.list
+++ b/layout/reftests/svg/svg-integration/clip-path/reftest.list
@@ -50,8 +50,10 @@ fuzzy-if(webrender,64-64,1106-1106) == c
 == clip-path-inset-001a.html clip-path-inset-001-ref.html
 == clip-path-inset-001b.html clip-path-inset-001-ref.html
 == clip-path-inset-001c.html clip-path-inset-001-ref.html
 # Anti-aliasing behavior for masking and borders is different
 fuzzy(64,146) fails-if(webrender) == clip-path-inset-002a.html clip-path-inset-002-ref.html
 fuzzy(64,146) fails-if(webrender) == clip-path-inset-002b.html clip-path-inset-002-ref.html
 fuzzy(64,146) fails-if(webrender) == clip-path-inset-002c.html clip-path-inset-002-ref.html
 fuzzy(64,340) fails-if(webrender) == clip-path-inset-003.html clip-path-inset-003-ref.html
+
+== clip-path-stroke-001.html clip-path-stroke-001-ref.html