Bug 1434250 - Reftest. r=kats
MozReview-Commit-ID: HiPeeyLD6Xh
new file mode 100644
--- /dev/null
+++ b/layout/reftests/async-scrolling/position-sticky-bug1434250-ref.html
@@ -0,0 +1,28 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset='utf-8'>
+ <style type="text/css" media="all">
+ body {
+ margin-top: 0;
+ overflow: hidden;
+ }
+ .container {
+ width: 500px;
+ background: #fcc;
+ height: 2000px;
+ }
+ .header {
+ position: sticky;
+ top: 0px;
+ background: #cfc;
+ height: 50px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class='container'>
+ <div class='header'></div>
+ </div>
+ </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/async-scrolling/position-sticky-bug1434250.html
@@ -0,0 +1,30 @@
+<!doctype html>
+<html reftest-async-scroll
+ reftest-displayport-x="0" reftest-displayport-y="0"
+ reftest-displayport-w="800" reftest-displayport-h="2000"
+ reftest-async-scroll-x="0" reftest-async-scroll-y="50">
+ <head>
+ <meta charset='utf-8'>
+ <style type="text/css" media="all">
+ body {
+ overflow: hidden;
+ }
+ .container {
+ width: 500px;
+ background: #fcc;
+ height: 2000px;
+ }
+ .header {
+ position: sticky;
+ top: 0px;
+ background: #cfc;
+ height: 50px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class='container'>
+ <div class='header'></div>
+ </div>
+ </body>
+</html>
--- a/layout/reftests/async-scrolling/reftest.list
+++ b/layout/reftests/async-scrolling/reftest.list
@@ -56,16 +56,17 @@ pref(apz.disable_for_scroll_linked_effec
fuzzy-if(browserIsRemote&&d2d,1,19) skip-if(!asyncPan) == background-blend-mode-1.html background-blend-mode-1-ref.html
skip-if(Android||!asyncPan) != opaque-fractional-displayport-1.html about:blank
skip-if(Android||!asyncPan) != opaque-fractional-displayport-2.html about:blank
fuzzy-if(Android,6,4) skip-if(!asyncPan) == fixed-pos-scrolled-clip-1.html fixed-pos-scrolled-clip-1-ref.html
fuzzy-if(Android,6,8) fails-if(webrender) skip-if(!asyncPan) == fixed-pos-scrolled-clip-2.html fixed-pos-scrolled-clip-2-ref.html # bug 1377187 for webrender
fuzzy-if(Android,6,8) fails-if(webrender) skip-if(!asyncPan) == fixed-pos-scrolled-clip-3.html fixed-pos-scrolled-clip-3-ref.html # bug 1377187 for webrender
fuzzy-if(Android,6,8) skip-if(!asyncPan) == fixed-pos-scrolled-clip-4.html fixed-pos-scrolled-clip-4-ref.html
skip-if(!asyncPan) == fixed-pos-scrolled-clip-5.html fixed-pos-scrolled-clip-5-ref.html
+skip-if(!asyncPan) == position-sticky-bug1434250.html position-sticky-bug1434250-ref.html
fuzzy-if(Android,6,4) skip-if(!asyncPan) == position-sticky-scrolled-clip-1.html position-sticky-scrolled-clip-1-ref.html
fuzzy-if(Android,6,4) skip == position-sticky-scrolled-clip-2.html position-sticky-scrolled-clip-2-ref.html # bug ?????? - incorrectly applying clip to sticky contents
skip-if(!asyncPan) == curtain-effect-1.html curtain-effect-1-ref.html
# for the following tests, we want to disable the low-precision buffer
# as it will expand the displayport beyond what the test specifies in
# its reftest-displayport attributes, and interfere with where we expect
# checkerboarding to occur