| Index: LayoutTests/compositing/contents-opaque/visibility-hidden.html
|
| diff --git a/LayoutTests/compositing/contents-opaque/visibility-hidden.html b/LayoutTests/compositing/contents-opaque/visibility-hidden.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2dc34847cbd82db954643ee5a846bf7f8ce62188
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/contents-opaque/visibility-hidden.html
|
| @@ -0,0 +1,50 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <style type="text/css">
|
| + header {
|
| + position: absolute;
|
| + top: 20px;
|
| + width: 200px;
|
| + height: 50px;
|
| + background-color: silver;
|
| + -webkit-transform: translateZ(0);
|
| + }
|
| + header.hidden {
|
| + visibility: hidden;
|
| + }
|
| + nav {
|
| + height: 37px;
|
| + overflow: hidden;
|
| + }
|
| + nav ul li {
|
| + height: 50px;
|
| + float: left;
|
| + overflow: hidden;
|
| + }
|
| + </style>
|
| + <script type="text/javascript">
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| + function doTest() {
|
| + var header = document.getElementsByTagName('header')[0];
|
| + header.classList.toggle('hidden');
|
| + if (window.testRunner && window.internals)
|
| + document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
|
| + }
|
| + window.addEventListener('load', doTest, false);
|
| + </script>
|
| + </head>
|
| +
|
| +<body>
|
| + <header>
|
| + <nav>
|
| + <ul>
|
| + <li>Some text here</li>
|
| + </ul>
|
| + </nav>
|
| + </header>
|
| + <pre id="layertree"></pre>
|
| +</body>
|
| +</html>
|
|
|