From 88f3a05aa4d08ec585b9ac9c6b9b8a3a88c5a4e6 Mon Sep 17 00:00:00 2001 From: Mats Palmgren Date: Fri, 18 Apr 2014 23:01:23 +0000 Subject: [PATCH] Bug 613659 - Reftests for box-decoration-break. r=cam --- layout/reftests/bugs/368020-3-ref.html | 2 +- layout/reftests/bugs/368020-3.html | 2 +- layout/reftests/bugs/368020-5-ref.html | 2 +- layout/reftests/bugs/368020-5.html | 2 +- layout/reftests/bugs/reftest.list | 2 +- .../css-break/box-decoration-break-1-ref.html | 67 +++++++++ .../css-break/box-decoration-break-1.html | 71 ++++++++++ ...ion-break-with-inset-box-shadow-1-ref.html | 132 +++++++++++++++++ ...oration-break-with-inset-box-shadow-1.html | 134 ++++++++++++++++++ ...on-break-with-outset-box-shadow-1-ref.html | 131 +++++++++++++++++ ...ration-break-with-outset-box-shadow-1.html | 133 +++++++++++++++++ .../css-break/green-circle-alpha-32x32.png | Bin 0 -> 396 bytes layout/reftests/css-break/reftest.list | 4 + layout/reftests/reftest.list | 3 + 14 files changed, 680 insertions(+), 5 deletions(-) create mode 100644 layout/reftests/css-break/box-decoration-break-1-ref.html create mode 100644 layout/reftests/css-break/box-decoration-break-1.html create mode 100644 layout/reftests/css-break/box-decoration-break-with-inset-box-shadow-1-ref.html create mode 100644 layout/reftests/css-break/box-decoration-break-with-inset-box-shadow-1.html create mode 100644 layout/reftests/css-break/box-decoration-break-with-outset-box-shadow-1-ref.html create mode 100644 layout/reftests/css-break/box-decoration-break-with-outset-box-shadow-1.html create mode 100644 layout/reftests/css-break/green-circle-alpha-32x32.png create mode 100644 layout/reftests/css-break/reftest.list diff --git a/layout/reftests/bugs/368020-3-ref.html b/layout/reftests/bugs/368020-3-ref.html index 13209c61fd0..7a95a6c4d42 100644 --- a/layout/reftests/bugs/368020-3-ref.html +++ b/layout/reftests/bugs/368020-3-ref.html @@ -5,7 +5,7 @@ - + blah
blah
blah diff --git a/layout/reftests/bugs/368020-3.html b/layout/reftests/bugs/368020-3.html index 294a935f34d..d04165527d8 100644 --- a/layout/reftests/bugs/368020-3.html +++ b/layout/reftests/bugs/368020-3.html @@ -5,7 +5,7 @@ - + blah
blah
blah diff --git a/layout/reftests/bugs/368020-5-ref.html b/layout/reftests/bugs/368020-5-ref.html index f048ae93716..0cc7180afed 100644 --- a/layout/reftests/bugs/368020-5-ref.html +++ b/layout/reftests/bugs/368020-5-ref.html @@ -5,7 +5,7 @@ - + blah
blah
blah diff --git a/layout/reftests/bugs/368020-5.html b/layout/reftests/bugs/368020-5.html index f576bbf45e3..013708cad03 100644 --- a/layout/reftests/bugs/368020-5.html +++ b/layout/reftests/bugs/368020-5.html @@ -5,7 +5,7 @@ - + blah
blah
blah diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list index e49ff8b6297..12a5193a61b 100644 --- a/layout/reftests/bugs/reftest.list +++ b/layout/reftests/bugs/reftest.list @@ -595,7 +595,7 @@ skip-if(B2G) == 367247-l-scroll.html 367247-l-auto.html != 367612-1g.html 367612-1-ref.html skip-if(B2G) random-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) == 368020-1.html 368020-1-ref.html == 368020-2.html 368020-2-ref.html -fails == 368020-3.html 368020-3-ref.html # bug 368085 +== 368020-3.html 368020-3-ref.html pref(layout.css.box-decoration-break.enabled,true) == 368020-5.html 368020-5-ref.html == 368155-1.xhtml 368155-1-ref.xhtml asserts(4) == 368155-negative-margins-1.html 368155-negative-margins-1-ref.html # bug 387205 / bug 457397 diff --git a/layout/reftests/css-break/box-decoration-break-1-ref.html b/layout/reftests/css-break/box-decoration-break-1-ref.html new file mode 100644 index 00000000000..431c499a1f6 --- /dev/null +++ b/layout/reftests/css-break/box-decoration-break-1-ref.html @@ -0,0 +1,67 @@ + + + + + CSS Test: Testing box-decoration-break:clone + + + + + + + + + + + +
  a  
  b  
  c  
  a  
  b  
  c  
  a  
  b  
  c  
+ +
+ + + + + + +
  a  
  b  
  c  
  a  
  b  
  c  
  a  
  b  
  c  
+ + + diff --git a/layout/reftests/css-break/box-decoration-break-1.html b/layout/reftests/css-break/box-decoration-break-1.html new file mode 100644 index 00000000000..e0326ccc1fa --- /dev/null +++ b/layout/reftests/css-break/box-decoration-break-1.html @@ -0,0 +1,71 @@ + + + + + CSS Test: Testing box-decoration-break:clone + + + + + + + + + + + + + +
  a  
  b  
  c  
  a  
  b  
  c  
  a  
  b  
  c  
+ +
+ + + + + + +
  a  
  b  
  c  

  a  
  b  
  c  

  a  
  b  
  c  

+ + + diff --git a/layout/reftests/css-break/box-decoration-break-with-inset-box-shadow-1-ref.html b/layout/reftests/css-break/box-decoration-break-with-inset-box-shadow-1-ref.html new file mode 100644 index 00000000000..f372a0f920e --- /dev/null +++ b/layout/reftests/css-break/box-decoration-break-with-inset-box-shadow-1-ref.html @@ -0,0 +1,132 @@ + + + + + CSS Test: Testing box-decoration-break:clone with inset box-shadow + + + + + + +
+ +
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+ +
+ + +
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+
+ +
+ + + diff --git a/layout/reftests/css-break/box-decoration-break-with-inset-box-shadow-1.html b/layout/reftests/css-break/box-decoration-break-with-inset-box-shadow-1.html new file mode 100644 index 00000000000..97e64700cc9 --- /dev/null +++ b/layout/reftests/css-break/box-decoration-break-with-inset-box-shadow-1.html @@ -0,0 +1,134 @@ + + + + + CSS Test: Testing box-decoration-break:clone with inset box-shadow + + + + + + + + +
+ +
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+ +
+ + +
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+
+ +
+ + + diff --git a/layout/reftests/css-break/box-decoration-break-with-outset-box-shadow-1-ref.html b/layout/reftests/css-break/box-decoration-break-with-outset-box-shadow-1-ref.html new file mode 100644 index 00000000000..938fc391480 --- /dev/null +++ b/layout/reftests/css-break/box-decoration-break-with-outset-box-shadow-1-ref.html @@ -0,0 +1,131 @@ + + + + + CSS Test: Testing box-decoration-break:clone with outset box-shadow + + + + + + +
+ +
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+ +
+ + +
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+  a  
  b  
  c  
+  a  
  b  
  c  
+  a  
  b  
  c  
+
+
+ +
+ + diff --git a/layout/reftests/css-break/box-decoration-break-with-outset-box-shadow-1.html b/layout/reftests/css-break/box-decoration-break-with-outset-box-shadow-1.html new file mode 100644 index 00000000000..417bf76ca43 --- /dev/null +++ b/layout/reftests/css-break/box-decoration-break-with-outset-box-shadow-1.html @@ -0,0 +1,133 @@ + + + + + CSS Test: Testing box-decoration-break:clone with outset box-shadow + + + + + + + + +
+ +
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+ +
+ + +
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+  a  
  b  
  c  

+  a  
  b  
  c  

+  a  
  b  
  c  

+
+
+ +
+ + diff --git a/layout/reftests/css-break/green-circle-alpha-32x32.png b/layout/reftests/css-break/green-circle-alpha-32x32.png new file mode 100644 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/css-break/reftest.list b/layout/reftests/css-break/reftest.list new file mode 100644 index 00000000000..2935df26bb2 --- /dev/null +++ b/layout/reftests/css-break/reftest.list @@ -0,0 +1,4 @@ +pref(layout.css.box-decoration-break.enabled,true) == box-decoration-break-1.html box-decoration-break-1-ref.html + +fuzzy(1,20) pref(layout.css.box-decoration-break.enabled,true) == box-decoration-break-with-inset-box-shadow-1.html box-decoration-break-with-inset-box-shadow-1-ref.html +fuzzy(16,460) pref(layout.css.box-decoration-break.enabled,true) == box-decoration-break-with-outset-box-shadow-1.html box-decoration-break-with-outset-box-shadow-1-ref.html diff --git a/layout/reftests/reftest.list b/layout/reftests/reftest.list index c461d65d00b..b540cec8a28 100644 --- a/layout/reftests/reftest.list +++ b/layout/reftests/reftest.list @@ -56,6 +56,9 @@ include css-animations/reftest.list # blending/ include css-blending/reftest.list +# Tests for the css-break spec +include css-break/reftest.list + # css calc() tests include css-calc/reftest.list