| Index: LayoutTests/compositing/background-color/background-color-change-to-transparent.html
|
| diff --git a/LayoutTests/compositing/background-color/background-color-change-to-text-expected.html b/LayoutTests/compositing/background-color/background-color-change-to-transparent.html
|
| similarity index 74%
|
| copy from LayoutTests/compositing/background-color/background-color-change-to-text-expected.html
|
| copy to LayoutTests/compositing/background-color/background-color-change-to-transparent.html
|
| index addc40b09465484676662695ba03c9528507cb1e..e1b1e3047d25ee727b5ff640d8c951fc1ba2e79e 100644
|
| --- a/LayoutTests/compositing/background-color/background-color-change-to-text-expected.html
|
| +++ b/LayoutTests/compositing/background-color/background-color-change-to-transparent.html
|
| @@ -1,13 +1,19 @@
|
| <!DOCTYPE>
|
| <html>
|
| <head>
|
| -<style type="text/css" media="screen">
|
| +<style>
|
| #background {
|
| width: 200px;
|
| height: 200px;
|
| display: block;
|
| background-color: green;
|
| }
|
| + .blue {
|
| + width: 50px;
|
| + height: 50px;
|
| + background-color: blue;
|
| + display: block;
|
| + }
|
|
|
| .composited {
|
| -webkit-transform: translateZ(0);
|
| @@ -23,8 +29,7 @@
|
| var bg = document.getElementById("background");
|
|
|
| window.setTimeout(function() {
|
| - // Change the layer to become background only.
|
| - bg.innerHTML = "text";
|
| + bg.style.backgroundColor = "transparent";
|
| if (window.testRunner) {
|
| window.setTimeout(function() {
|
| testRunner.notifyDone();
|
| @@ -37,7 +42,9 @@
|
| </script>
|
| </head>
|
| <body>
|
| -<!-- When the test is done, there should only be a green square on the page -->
|
| -<div id="background"></div>
|
| +<div id="background" class="composited">
|
| + <div class="blue composited">
|
| + </div>
|
| +</div>
|
| </body>
|
| </html>
|
|
|