6 background-color: blue;
9 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
11 if (window
.testRunner
) {
12 testRunner
.waitUntilDone();
13 testRunner
.dumpAsText();
15 runAfterLayoutAndPaint(function() {
16 var content
= document
.getElementById('content');
17 content
.style
.height
= '1000px';
18 runAfterLayoutAndPaint(function() {
19 content
.style
.width
= '1000px';
20 runAfterLayoutAndPaint(function() {
21 if (window
.testRunner
)
22 testRunner
.notifyDone();
27 Tests adding composited horizontal custom scrollbar then the vertical scrollbar.
28 Passes if no assertion failure.
29 <div style=
"overflow: auto; width: 500px; height: 500px; backface-visibility: hidden">
30 <div id=
"content" style=
"width: 400px; height: 400px"></div>