3 ::-webkit-scrollbar { display: none; }
5 Tests scroll offset of contents with subsequence caching. Passes if no red.
6 <div id=
"container" style=
"position: absolute; width: 300px; height: 200px; overflow: scroll; backface-visibility: hidden">
7 <div id=
"content1" style=
"position: absolute; top: 0; left: 0; width: 100px; height: 400px; background-color: red"></div>
8 <div id=
"content2" style=
"position: absolute; top: 0; left: 100px; width: 100px; height: 100px; background-color: red"></div>
10 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
13 runAfterLayoutAndPaint(function() {
14 content1
.style
.backgroundColor
= 'green';
15 container
.scrollTop
= 150;