Bug 1289011 - Part 9. stroke-box reftest. draft
authorcku <cku@mozilla.com>
Fri, 02 Sep 2016 01:20:22 +0800
changeset 409572 511f90041dd3d43d0e22e282c08b57d3c7c8919e
parent 409571 2631ff8932877191118a8150c09cfc6cb1a727cb
child 530362 a41921c1eda19b60dc6c2d4f7741a4fefa2d1a0b
push id28492
push userbmo:cku@mozilla.com
push dateSat, 03 Sep 2016 18:05:10 +0000
bugs1289011
milestone51.0a1
Bug 1289011 - Part 9. stroke-box reftest. MozReview-Commit-ID: 3LJsppqLKMv
layout/reftests/w3c-css/submitted/masking/clip-path-strokeBox-1b.html
layout/reftests/w3c-css/submitted/masking/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/masking/clip-path-strokeBox-1b.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <title>CSS Masking: clip-path: clip path stroke-box</title>
+    <link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
+    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
+    <link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
+    <link rel="match" href="clip-path-geometryBox-1-ref.html">
+    <meta name="assert" content="Test checks whether clip-path stroke-box works correctly or not.">
+  </head>
+  <body>
+    <svg width="200" height="200" style="position: absolute; left: 0px; top: 0px;">
+      <rect x="60" y="60" width="80" height="80" fill="blue" stroke="blue" stroke-width="20" clip-path="circle(50%) stroke-box"/>
+    </svg>
+  </body>
+</html>
--- a/layout/reftests/w3c-css/submitted/masking/reftest.list
+++ b/layout/reftests/w3c-css/submitted/masking/reftest.list
@@ -90,13 +90,14 @@ fuzzy(64,311) == clip-path-borderBox-1a.
 fuzzy-if(winWidget,1,21) == clip-path-borderBox-1b.html clip-path-geometryBox-1-ref.html
 fuzzy(64,311) == clip-path-borderBox-1c.html clip-path-geometryBox-1-ref.html
 fuzzy-if(winWidget,1,21) == clip-path-marginBox-1a.html clip-path-geometryBox-1-ref.html
 fuzzy-if(winWidget,1,21) == clip-path-viewBox-1a.html clip-path-geometryBox-1-ref.html
 fuzzy-if(winWidget,1,21) == clip-path-viewBox-1b.html clip-path-geometryBox-1-ref.html
 fuzzy(64,311) == clip-path-viewBox-1c.html clip-path-geometryBox-1-ref.html
 fuzzy(64,311) == clip-path-fillBox-1a.html clip-path-geometryBox-1-ref.html
 fuzzy(64,311) == clip-path-strokeBox-1a.html clip-path-geometryBox-1-ref.html
+fuzzy(64,311) == clip-path-strokeBox-1b.html clip-path-geometryBox-1-ref.html
 fuzzy-if(winWidget,1,98) == clip-path-geometryBox-2a.html clip-path-geometryBox-2-ref.html
 fuzzy-if(winWidget,1,98) == clip-path-geometryBox-2b.html clip-path-geometryBox-2-ref.html
 fuzzy-if(winWidget,1,98) == clip-path-geometryBox-2c.html clip-path-geometryBox-2-ref.html
 fuzzy-if(winWidget,1,98) == clip-path-geometryBox-2d.html clip-path-geometryBox-2-ref.html