Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / plugins / 1x1-composited-plugin.html
blob92b6e26be92f2c805563bc6768ae53a45af86acb
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style type="text/css" media="screen">
5 embed {
6 height: 1px;
7 width: 1px;
8 border: 1px solid black;
10 </style>
11 <script type="text/javascript" charset="utf-8">
12 if (window.testRunner) {
13 testRunner.dumpAsText();
14 testRunner.waitUntilDone();
17 function doTest()
19 window.setTimeout(function() {
20 if (window.testRunner) {
21 document.getElementById('result').textContent = window.internals.layerTreeAsText(document);
22 testRunner.notifyDone();
24 }, 0);
27 window.addEventListener('load', doTest, false);
28 </script>
29 </head>
30 <body>
31 <embed type="application/x-webkit-test-netscape" width="1" height="1" drawingmodel="coreanimation">
32 <embed type="application/x-webkit-test-netscape" width="100" height="0" drawingmodel="coreanimation">
34 <div id="result">Test only works in DRT</div>
35 </body>
36 </html>