Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / iframes / resources / leave-compositing-subframe-click.html
blob904977d8a2d25cdb7944ea2eed91477c85456bfb
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 body { background-color:silver }
8 .box {
9 height: 200px;
10 width: 200px;
11 margin: 10px;
12 padding: 5px;
13 background-color: blue;
14 cursor: pointer;
17 .composited {
18 transform: translateZ(0);
21 </style>
22 <script type="text/javascript">
23 function doTest()
25 window.setTimeout(function() {
26 document.getElementById('target').className = 'box';
27 parent.testDone();
28 }, 50);
30 window.addEventListener('load', doTest, false);
31 </script>
32 </head>
33 <body>
34 <div id="target" class="composited box" onmousedown="parent.nodeClicked(this)"></div>
35 </body>
36 </html>