From f455e70a1179b3f4d01c49fd2337a64352ac116b Mon Sep 17 00:00:00 2001 From: Chris Lord Date: Thu, 13 Sep 2012 11:35:14 +0100 Subject: [PATCH] Bug 786502 - Add reftests for background layers. r=roc Add tests that verify background layers composite correctly. --- .../backgrounds/background-layers-1-ref.html | 46 ++++++++++++++++++ .../backgrounds/background-layers-1a.html | 43 ++++++++++++++++ .../backgrounds/background-layers-1b.html | 46 ++++++++++++++++++ .../backgrounds/green-circle-alpha-32x32.png | Bin 0 -> 396 bytes layout/reftests/backgrounds/reftest.list | 3 ++ 5 files changed, 138 insertions(+) create mode 100644 layout/reftests/backgrounds/background-layers-1-ref.html create mode 100644 layout/reftests/backgrounds/background-layers-1a.html create mode 100644 layout/reftests/backgrounds/background-layers-1b.html create mode 100755 layout/reftests/backgrounds/green-circle-alpha-32x32.png diff --git a/layout/reftests/backgrounds/background-layers-1-ref.html b/layout/reftests/backgrounds/background-layers-1-ref.html new file mode 100644 index 000000000000..d457fe119e85 --- /dev/null +++ b/layout/reftests/backgrounds/background-layers-1-ref.html @@ -0,0 +1,46 @@ + + + + + + + + +
+
+
+ + + diff --git a/layout/reftests/backgrounds/background-layers-1a.html b/layout/reftests/backgrounds/background-layers-1a.html new file mode 100644 index 000000000000..d55b2329bca8 --- /dev/null +++ b/layout/reftests/backgrounds/background-layers-1a.html @@ -0,0 +1,43 @@ + + + + + + + + +
+
+
+ + + diff --git a/layout/reftests/backgrounds/background-layers-1b.html b/layout/reftests/backgrounds/background-layers-1b.html new file mode 100644 index 000000000000..1f8ed4d19633 --- /dev/null +++ b/layout/reftests/backgrounds/background-layers-1b.html @@ -0,0 +1,46 @@ + + + + + + + + + + + + +
+ + + diff --git a/layout/reftests/backgrounds/green-circle-alpha-32x32.png b/layout/reftests/backgrounds/green-circle-alpha-32x32.png new file mode 100755 index 0000000000000000000000000000000000000000..a007675a176123cab7291d684537dde8961ecec7 GIT binary patch literal 396 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzwj^(N7l!{JxM1({$v_d#0*}aI z1_o|n5N2eUHAey{$X?><>&kwIla1GcWoG4q7eFD|%#er@=ltB<)VvZPmw~~#C^fMp zHASI3vm`^o-P1Q9MK6^dDE`6I#W5t}@YCsrLd^;SuJV~G+fV4eS);RcoA>LzHtnHS z{Rz{fGqi#h82epO>Di%p@}Jj%pY!>3xc^jZJh$gjS6~cMkc*ODz^13M?q8~u5>Gmh z>@(F}i8)WYZK|6~cyC^d43|FP9`Y_P;?p(epB>kHTjtL^KUW~4__^)Ev}?}$KVQ7A zk@xuc!-bm#PS_qbX18*9ud~3taE^6?@f@)N2mYANsva!s8&W(Sv@{fAg#@^{IYXATM literal 0 HcmV?d00001 diff --git a/layout/reftests/backgrounds/reftest.list b/layout/reftests/backgrounds/reftest.list index 1ed07482e842..9e2f43a1baee 100644 --- a/layout/reftests/backgrounds/reftest.list +++ b/layout/reftests/backgrounds/reftest.list @@ -87,6 +87,9 @@ random-if(bug685516) == background-size-contain-position-fifty-fifty.html backgr random-if(bug685516) == background-size-contain-clip-padding-origin-border.html background-size-contain-clip-padding-origin-border-ref.html random-if(bug685516) == background-size-contain-clip-padding-origin-border-padding.html background-size-contain-clip-padding-origin-border-padding-ref.html +== background-layers-1a.html background-layers-1-ref.html +== background-layers-1b.html background-layers-1-ref.html + # -moz-background-inline-policy is touchy and hard to test due to stretching # artifacts and the difficulty of covering exact lines, and its CSS3 analog is # on the chopping block at the moment, so just make sure background-size results