4 <title>Layout width change
</title>
6 <style type=
"text/css" media=
"screen">
19 background-color: #bbb;
23 transform: translateZ(
0);
26 <script type=
"text/javascript" charset=
"utf-8">
27 if (window.testRunner) {
28 testRunner.waitUntilDone();
29 testRunner.dumpAsTextWithPixelResults();
33 var container = document.getElementById(
"container");
34 var panel = document.getElementById(
"panel");
36 // Delay is needed after switching between compositing and non-compositing
37 // mode to allow for another render to happen.
38 window.setTimeout(function() {
39 panel.className +=
" composited"
40 container.style.height =
"300";
41 if (window.testRunner) {
42 window.setTimeout(function() {
43 testRunner.notifyDone();
49 window.addEventListener('load', doTest, false);
54 <p>There should be no white gap at the right hand side of the box.
</p>
55 <div id=
"container" class=
"container">
56 <div id=
"panel" class=
"panel">