Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / context-menu-leak-document.html
blob66f85aada1b0d3edf318855744749f85aca2a27b
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script id='targetHTML' type='text/html'>
5 <div id="target" contentEditable style='width:100px; height:100px;'></div>
6 </script>
8 <script id='targetJS' type='text/html'>
9 var target = document.getElementById('target');
10 var x = target.offsetParent.offsetLeft + target.offsetLeft + 5;
11 var y = target.offsetParent.offsetTop + target.offsetTop + target.offsetHeight / 2;
12 eventSender.mouseMoveTo(x, y);
13 eventSender.contextClick();
14 </script>
16 <script src="../resources/js-test.js"></script>
17 <script src="../resources/leak-check.js"></script>
18 <script>
19 var target = grabScriptText('targetHTML')+
20 '<script>'+grabScriptText('targetJS')+'<'+'/script>';
21 var tolerance = {'numberOfLiveDocuments': 0};
23 doLeakTest(htmlToUrl(target), tolerance);
24 </script>
25 </body>
26 </html>