3 <style type=
"text/css" media=
"screen">
10 background-color: gray;
11 clip: rect(
15px,
95px,
95px,
5px);
20 background-color: rgba(
0,
0,
0,
0.2);
24 transform: translateZ(
1px);
31 <script type=
"text/javascript" charset=
"utf-8">
32 if (window.testRunner) {
33 testRunner.dumpAsText();
34 testRunner.waitUntilDone();
38 if (window.testRunner) {
39 document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
40 testRunner.notifyDone();
43 window.addEventListener('load', doTest, false);
47 <div class=
"composited box">
52 <div class=
"box" style=
"left: 220px;">
53 <div class=
"composited inner">
57 <p>Test CSS clip with composited layers. Left and right sides should look the same.
</p>
58 <pre id=
"layers">In DRT, layer tree goes here.
</pre>