| Index: LayoutTests/compositing/background-color/background-color-change-to-text.html
|
| diff --git a/LayoutTests/compositing/background-color/background-color-change-to-text.html b/LayoutTests/compositing/background-color/background-color-change-to-text.html
|
| index 8cf21975d2e1d6173c961dd722a3df3e8e0a0410..e534d5ff1e968cd315456be4d0bf0d38019fbe85 100644
|
| --- a/LayoutTests/compositing/background-color/background-color-change-to-text.html
|
| +++ b/LayoutTests/compositing/background-color/background-color-change-to-text.html
|
| @@ -8,6 +8,12 @@
|
| display: block;
|
| background-color: green;
|
| }
|
| + .blue {
|
| + width: 50px;
|
| + height: 50px;
|
| + background-color: blue;
|
| + display: block;
|
| + }
|
|
|
| .composited {
|
| -webkit-transform: translateZ(0);
|
| @@ -23,8 +29,9 @@
|
| var bg = document.getElementById("background");
|
|
|
| window.setTimeout(function() {
|
| - // Change the layer to become background only.
|
| - bg.innerHTML = "text";
|
| + // Change the layer not to be background color layer.
|
| + bg.innerHTML = "text" + bg.innerHTML;
|
| + bg.style.backgroundColor = "red";
|
| if (window.testRunner) {
|
| window.setTimeout(function() {
|
| testRunner.notifyDone();
|
| @@ -37,7 +44,9 @@
|
| </script>
|
| </head>
|
| <body>
|
| -<!-- When the test is done, there should only be a green square on the page -->
|
| -<div id="background" class="composited"></div>
|
| +<div id="background" class="composited">
|
| + <div class="blue composited">
|
| + </div>
|
| +</div>
|
| </body>
|
| </html>
|
|
|