Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / images / clip-on-directly-composited-image.html
blobb04b411a85e374346dd787869034b6af6f523f38
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 img {
7 width: 200px;
8 height: 200px;
9 clip: rect(10px 150px 150px 10px);
10 position: absolute;
11 z-index: 1;
14 .composited {
15 transform: translateZ(0);
16 left: 200px;
19 #layers {
20 position: relative;
21 top: 220px;
23 </style>
24 <script type="text/javascript" charset="utf-8">
25 if (window.testRunner) {
26 testRunner.dumpAsText();
27 testRunner.waitUntilDone();
30 function doTest() {
31 if (window.testRunner) {
32 document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
33 testRunner.notifyDone();
36 window.addEventListener('load', doTest, false);
37 </script>
38 </head>
39 <body>
41 <img src="../resources/alpha-gradient-small.png">
42 <img class="composited" src="../resources/alpha-gradient-small.png">
44 <pre id="layers">
45 The layer tree goes here in DRT.
46 </pre>
48 </body>
49 </html>