| Index: LayoutTests/compositing/background-color/background-color-change-to-transparent.html
|
| diff --git a/LayoutTests/compositing/background-color/background-color-change-to-transparent.html b/LayoutTests/compositing/background-color/background-color-change-to-transparent.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ce6ba6bbebd8b4bc812a3f8dba35046d08daf40c
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/background-color/background-color-change-to-transparent.html
|
| @@ -0,0 +1,50 @@
|
| +<!DOCTYPE>
|
| +<html>
|
| +<head>
|
| +<style type="text/css" media="screen">
|
| + #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);
|
| + }
|
| +</style>
|
| +<script type="text/javascript" charset="utf-8">
|
| + if (window.testRunner) {
|
| + testRunner.waitUntilDone();
|
| + testRunner.dumpAsTextWithPixelResults();
|
| + }
|
| + function doTest()
|
| + {
|
| + var bg = document.getElementById("background");
|
| +
|
| + window.setTimeout(function() {
|
| + bg.style.backgroundColor = "transparent";
|
| + if (window.testRunner) {
|
| + window.setTimeout(function() {
|
| + testRunner.notifyDone();
|
| + }, 0);
|
| + }
|
| + }, 0);
|
| + }
|
| +
|
| + window.addEventListener('load', doTest, false);
|
| +</script>
|
| +</head>
|
| +<body>
|
| +<div id="background" class="composited">
|
| + <div class="blue composited">
|
| + </div>
|
| +</div>
|
| +</body>
|
| +</html>
|
|
|