2 <html class=
"reftest-wait">
5 <title>Testcase for bug
1010538, smooth scrolling expected
</title>
6 <style type=
"text/css">
10 background-color: white
;
17 scroll-behavior: smooth
;
41 <div id=
"a_box"></div>
42 <div id=
"another_box"></div>
45 if (document
.location
.search
!= '?ref') {
46 window
.scrollTo(500, 500);
47 window
.scrollTo(window
.scrollX
, window
.scrollY
);
49 document
.documentElement
.removeAttribute("class");
51 window
.scrollTo({left
: 0, top
: 0, behavior
: "instant"});
52 window
.addEventListener("MozReftestInvalidate", doTest
);