Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / svg-font-face-leak-document.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4     <script id="targetSVG" type="text/html">
5         <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100" height="100">
6             <defs>
7                 <font>
8                     <font-face font-family="Foo" />
9                 </font>
10             </defs>
11         </svg>
12     </script>
13
14     <script src="../resources/js-test.js"></script>
15     <script src="../resources/leak-check.js"></script>
16     <script>
17         var target = grabScriptText('targetSVG');
18         var tolerance = {'numberOfLiveDocuments': 0};
19
20         doLeakTest(htmlToUrl(target), tolerance);
21     </script>
22 </body>
23 </html>