| Index: LayoutTests/compositing/contents-opaque/hidden-with-visible-child.html
|
| diff --git a/LayoutTests/compositing/contents-opaque/hidden-with-visible-child.html b/LayoutTests/compositing/contents-opaque/hidden-with-visible-child.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ae4cd505ef78e7bfcf119b0c9472402393c0ea21
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/contents-opaque/hidden-with-visible-child.html
|
| @@ -0,0 +1,34 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <style>
|
| + #caption {
|
| + width: 200px;
|
| + height: 100px;
|
| + background-color: green;
|
| + -webkit-transform: translateZ(0);
|
| + }
|
| + .inner {
|
| + visibility: visible;
|
| + background-color: blue;
|
| + }
|
| + </style>
|
| + <script type="text/javascript">
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| + function doTest() {
|
| + document.getElementById("caption").style.visibility = "hidden";
|
| + if (window.testRunner && window.internals)
|
| + document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
|
| + }
|
| + window.addEventListener('load', doTest, false);
|
| + </script>
|
| +</head>
|
| +<body>
|
| + <div id="caption" style="position: fixed; background: green;">
|
| + <div class="inner"></div>
|
| + </div>
|
| +<pre id="layertree"></pre>
|
| +</body>
|
| +</html>
|
|
|