Bug 1318625 - Part 2: Add testcase. r=jrmuizel, a=gchang
authorTooru Fujisawa <arai_a@mac.com>
Sat, 19 Nov 2016 12:10:47 +0900
changeset 352555 c538edad135a485319c98da4ff86c1debaa93062
parent 352554 e3fb37a9876c95b1d97202b1b910de6f78a6e526
child 352556 19f94f079251e8c3ca77ae0a3a03d6e834c1c47d
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel, gchang
bugs1318625
milestone52.0a2
Bug 1318625 - Part 2: Add testcase. r=jrmuizel, a=gchang
layout/reftests/border-dotted/border-dotted-radius-zero-filled-mask.png
layout/reftests/border-dotted/border-dotted-radius-zero-unfilled-mask.png
layout/reftests/border-dotted/border-dotted-radius-zero.html
layout/reftests/border-dotted/masked-small.html
layout/reftests/border-dotted/reftest.list
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..193f5f2daed14254de17d0c46c5ee9050286be26
GIT binary patch
literal 965
zc%17D@N?(olHy`uVBq!ia0vp^cR-kf4M<8yoo{4dVD9mBaSW-L^Y)Ts-t7PZR>yn)
zFP%IU$+B_siAle_*K=ISV%U^^;PtL`^8N*~cJ`6Av%~k@?W~jiy7_S2v;QXcJKui!
zX<Ywf*8FFFpC{k;n{WTQeZB2-<@WRbVfUX+%`abM!%+AA;}u!{n``+R?052IRGf$_
zWzadvoZu<PQ2!YyQ+{(PUxR8TOzi(-s|63E|H9RHe`1K3#C~9s4a2l2j2l$=k(7=~
zjY`o{>WQ6x<%d5D*()A?E5G-4>h1k+es%oT`A{|S=gHjdTlRm>TfXJ)rGK&cwR3`R
z<z?1Czw4K|d+FcZ?><jrKQI4s>h1fL+r#tzZ(7YqoaM%KO#l5<6=WtgZ~(I>gQu&X
J%Q~loCIETAYl#2=
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..5b20585fb0ba71f5b947a6cd21cf749dfde97034
GIT binary patch
literal 621
zc%17D@N?(olHy`uVBq!ia0vp^cR-kf4M<8yoo{4dU^4M^aSW-L^Y*4=9+RN}gX6#d
znMLugod+)PEMB!*^zE9!(|mW{iEr=rd_6gR_CCAHZTGKTx4Jpw^{sEE)z{zNjZ&93
ze(PNOeb?UC-}2U8?$x}me%`FM_EXOFulxV;RTv(0^e7Mzmagd#=67mpo^XTV#@VYv
zPEE`S=F4STVssgAoYiDkJjl3VdN3bQe#Q$06$^%MMW?{JWLsF+AqEt!ZJF>uLCu20
z@+rfO)12&z*S$D6`I3MJK2UfP#i@AE(WgK_2xy?TB2W=0pVPXjATEY>PLL%aJ>9|`
zaQ1%-I9mm*WZ%k`889|bSl<s>D@3?XssULEnE5l4Aqhzdl-bdVtg&J49FRkgxBxv3
za+#0}gSF*Dm=5Ly{pBE6gXI_)WQvxuFn~bA_Yct^@dJK-77Ubtd1d=GuG|02*?fLZ
z?yon;<tlf+e0~2<UfTSfb+y}*C&#_JI@>tY3@H2eV!8FV`^@)t{yUjIyY^Ym<#cwq
bArC6;e}#$eJH=6D3*vgZ`njxgN@xNA7CY9m
new file mode 100644
--- /dev/null
+++ b/layout/reftests/border-dotted/border-dotted-radius-zero.html
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <title>dashed border with radius</title>
+    <style>
+.box {
+  position: relative;
+  width: 220px;
+  height: 220px;
+}
+.mask {
+  position: absolute;
+  top: 0px;
+  left: 0px;
+  width: 220px;
+  height: 220px;
+}
+
+div.border {
+  border-style: dotted;
+  border-width: 4px 0 4px 0px;
+  width: 200px;
+  height: 200px;
+  border-top-right-radius: 40px 200px;
+}
+    </style>
+  </head>
+  <body>
+    <div class="box">
+      <div class="border">
+      </div>
+      <img class="mask" src="border-dotted-radius-zero-filled-mask.png">
+    </div>
+    <div class="box">
+      <div class="border">
+      </div>
+      <img class="mask" src="border-dotted-radius-zero-unfilled-mask.png">
+    </div>
+  </body>
+</html>
+
new file mode 100644
--- /dev/null
+++ b/layout/reftests/border-dotted/masked-small.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <title>Correctly masked page</title>
+    <style>
+.box {
+  position: relative;
+  width: 220px;
+  height: 220px;
+}
+    </style>
+  </head>
+  <body>
+    <div class="box" style="background-color: black;">
+    </div>
+    <div class="box" style="background-color: white;">
+    </div>
+  </body>
+</html>
+
--- a/layout/reftests/border-dotted/reftest.list
+++ b/layout/reftests/border-dotted/reftest.list
@@ -5,8 +5,9 @@
 fuzzy(80,1500) == border-dotted-interaction.html masked.html
 fuzzy(80,1500) == border-dotted-no-radius.html masked.html
 fuzzy(80,1500) == border-dotted-radius.html masked.html
 fuzzy(80,1500) == border-dashed-no-radius.html masked.html
 fuzzy(80,1500) == border-dashed-radius.html masked.html
 fuzzy(80,1500) == border-mixed.html masked.html
 fuzzy(80,1500) == border-dashed-non-integer.html masked.html
 fuzzy(80,1500) == border-dashed-radius-zoom.html masked-zoom.html
+fuzzy(80,1500) == border-dotted-radius-zero.html masked-small.html