| <style type="text/css" media="screen"> |
| clip: rect(15px, 95px, 95px, 5px); |
| background-color: rgba(0, 0, 0, 0.2); |
| -webkit-transform: translateZ(1px); |
| <script type="text/javascript" charset="utf-8"> |
| testRunner.waitUntilDone(); |
| document.getElementById('layers').innerText = window.internals.layerTreeAsText(document); |
| window.addEventListener('load', doTest, false); |
| <div class="composited box"> |
| <div class="box" style="left: 220px;"> |
| <div class="composited inner"> |
| <p>Test CSS clip with composited layers. Left and right sides should look the same.</p> |
| <pre id="layers">In DRT, layer tree goes here.</pre> |