Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Side by Side Diff: LayoutTests/svg/svg-font-face-leak-document.html

Issue 216563002: [SVG Fonts] Fix <font-face> element leak document (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698