11 background-color: silver;
15 <script type=
"text/javascript">
17 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
19 if (window
.testRunner
) {
20 testRunner
.dumpAsText();
22 window
.addEventListener("load", function() {
23 document
.getElementById("mainThreadScrollingReasons").innerText
= window
.internals
.mainThreadScrollingReasons(document
);
30 <div style=
"height: 1000px">
31 Main thread scrolling reasons should be blank:
32 <pre id=
"mainThreadScrollingReasons"></pre>
35 <!-- out of view fixed position elements should not trigger main thread scrolling. -->
36 <div class=
"fixed"></div>
37 <div class=
"fixed" style=
"top: -100px"></div>
38 <div class=
"fixed" style=
"top: 0px; left: 1000px"></div>