Bug 1274726. Part 2: Reftest for prescale and repeat drawable. r=jrmuizel
authorMason Chang <mchang@mozilla.com>
Fri, 03 Jun 2016 13:30:23 -0700
changeset 339496 0fe8a8bde7f03cf80825a434f4a3fc2c58d69a84
parent 339495 2b4b4972c8a575ba3d06d7d4c214b6f941ab2c80
child 339497 f382e0ae3c2bd83bd5f89eaa4b71238bf500e393
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1274726
milestone49.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 1274726. Part 2: Reftest for prescale and repeat drawable. r=jrmuizel
layout/reftests/backgrounds/background-repeat-resampling-ref.html
layout/reftests/backgrounds/background-repeat-resampling.html
layout/reftests/backgrounds/grid-large.png
layout/reftests/backgrounds/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/backgrounds/background-repeat-resampling-ref.html
@@ -0,0 +1,10 @@
+<div style="background: url(grid-large.png);
+	background-size: 16px 100%;
+	width:100px; height: 400px;
+  background-repeat: none;
+  position: absolute;"></div>
+
+<div style="background-color: black;
+           height: 30px; width: 100px;
+           margin-top: 370px;
+           position: absolute;"></div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/backgrounds/background-repeat-resampling.html
@@ -0,0 +1,4 @@
+<div style="background: url(grid-large.png);
+	background-size: 16px 100%;
+	width:100px; height: 400px;
+  background-repeat: repeat"></div>
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4de7c667823187b656234ccc5610b80e762a046d
GIT binary patch
literal 2800
zc$@+73J>*(P)<h;3K|Lk000e1NJLTq000mG000mO0ssI2kdbIM000U@X+uL$Nkc;*
zaB^>EX>4Tx0C?J+Q+HUC_ZB|i_hk=OLfG)Jmu!ImA|tE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3dA;w(>>IakCfyvkCA#(acJ}QTcM9%I++BK)c(44v+WqPW`VZ=VwEnSWz-{38
zV8CF{!&wjS4he^z{*?dIhvCvk%tzHDMk9@nogW_?4H~`jWX_Y}r?RIL&&qyQ|9R_k
ztLNYS;`>X_Sp3-V3;B!Bzpi<y^K$R2sjoW6BgY@S&UroYru?nW+kNl2@4DZ|y&st<
z{6PLt^U?Za$EVOw_de%*{`@cZg!B7=IVBMQ000SaNLh0L01FcU01FcV0GgZ_00007
zbV*G`2iye#6AS=rq0Gbp000?uMObu0Z*6U5Zgc=ca%Ew3Wn>_CX>@2HM@dakSAh-}
z0000RNkl<ZD9>YLzybdM|BqFiiGf5gs$moi9RL9T-UAKguT;ta0000<MNUMnLSTab
C3sMyT
--- a/layout/reftests/backgrounds/reftest.list
+++ b/layout/reftests/backgrounds/reftest.list
@@ -172,14 +172,16 @@ fuzzy(16,69) fuzzy-if(skiaContent,64,130
 fuzzy(16,69) fuzzy-if(skiaContent,64,1300) == attachment-local-clipping-image-5.html attachment-local-clipping-image-4-ref.html
 fuzzy(80,500) == attachment-local-clipping-image-6.html attachment-local-clipping-image-6-ref.html
 
 fuzzy-if(skiaContent,1,8) == background-multiple-with-border-radius.html background-multiple-with-border-radius-ref.html
 == background-repeat-large-area.html background-repeat-large-area-ref.html
 
 fuzzy(30,474) fuzzy-if(skiaContent,31,474) == background-tiling-zoom-1.html background-tiling-zoom-1-ref.html
 
+skip-if(!cocoaWidget) == background-repeat-resampling.html background-repeat-resampling-ref.html
+
 pref(layout.css.background-clip-text.enabled,true) fuzzy-if(winWidget,102,2032) == background-clip-text-1a.html background-clip-text-1-ref.html
 pref(layout.css.background-clip-text.enabled,true) fuzzy-if(winWidget,102,2032) == background-clip-text-1b.html background-clip-text-1-ref.html
 pref(layout.css.background-clip-text.enabled,true) fuzzy-if(winWidget,102,2032) == background-clip-text-1c.html background-clip-text-1-ref.html
 pref(layout.css.background-clip-text.enabled,true) fuzzy-if(winWidget,102,2032) == background-clip-text-1d.html background-clip-text-1-ref.html
 pref(layout.css.background-clip-text.enabled,true) fuzzy-if(winWidget,102,2032) == background-clip-text-1e.html background-clip-text-1-ref.html
 pref(layout.css.background-clip-text.enabled,false) != background-clip-text-1a.html background-clip-text-1-ref.html