14 background-color: blue;
17 <script src=
"../../resources/testharness.js"></script>
18 <script src=
"../../resources/testharnessreport.js"></script>
19 <script src=
"resources/scroll-interruption-test.js"></script>
20 <script type=
"text/javascript">
21 function jsScroll(y
) {
22 document
.getElementById('container').scrollTo({top
: y
, behavior
: 'smooth'});
26 const targets
= {y_min
: 40, y_mid
: 3500, y_max
: 7000};
27 const innerPoint
= {x
: 100, y
: 100};
28 var element
= document
.getElementById('container');
29 var scrollInterruptionTest
= new SmoothScrollInterruptionTest(element
,
33 scrollInterruptionTest
.run();
36 window
.addEventListener('load', doTest
, false);
41 <p>Test that interrupting a smooth scroll on an overflow:scroll element works with both scroll behaviors and with input
</p>
43 <div id=
"content"></div>