Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / plugins / no-backing-store.html
blob8280fcc8430c87ade7b3e15cbd2d0c92f69d2028
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style type="text/css" media="screen">
5 embed {
6 margin: 10px;
8 </style>
9 <script type="text/javascript" charset="utf-8">
10 if (window.testRunner) {
11 testRunner.dumpAsText();
12 testRunner.waitUntilDone();
15 function doTest()
17 // Need to wait for compositing layers to be updated. FIXME remove.
18 window.setTimeout(function() {
19 if (window.testRunner) {
20 document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
21 testRunner.notifyDone();
23 }, 0)
25 window.addEventListener('load', doTest, false);
26 </script>
27 </head>
28 <body>
30 <!-- Not layer-backed -->
31 <embed type="application/x-webkit-test-netscape" width="100" height="100">
33 <!-- Layer-backed, no need for backing store -->
34 <embed type="application/x-webkit-test-netscape" width="100" height="100" drawingmodel="coreanimation">
36 <!-- Both these need backing store -->
37 <embed style="background-color: blue;" type="application/x-webkit-test-netscape" width="100" height="100" drawingmodel="coreanimation">
38 <embed style="border: 1px solid black;" type="application/x-webkit-test-netscape" width="100" height="100" drawingmodel="coreanimation">
40 <pre id="layers">Layer tree appears here in DRT.</pre>
41 </body>
42 </html>