Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / canvas / philip / tests / 2d.text-custom-font-load-crash.html
index 21400d5..2a0984b 100644 (file)
@@ -1,33 +1,33 @@
-<!DOCTYPE html>\r
-<div>Test passes if it does not crash.</div>\r
-<script src="../tests.js"></script>\r
-<style>\r
-@font-face {\r
-font-family: CanvasTest; \r
-  src: url("does_not_exist.ttf");\r
-}\r
-</style>\r
-<applet>\r
-<canvas id="c">\r
-</applet>\r
-<ul id="d"></ul>\r
-<script>\r
-if (window.testRunner)\r
-    testRunner.dumpAsText();\r
-\r
-_addTest(function(canvas, ctx) {\r
-\r
-ctx.fillRect(0, 0, 100, 50);\r
-ctx.font = '1px CanvasTest';\r
-ctx.fillText('AA', 0, 50);\r
-deferTest();\r
-\r
-setTimeout(wrapFunction(function () {\r
-    ctx.fillText('AA', 0, 50);\r
-\r
-    if (window.testRunner)\r
-        testRunner.notifyDone();\r
-}), 500);\r
-\r
-});\r
-</script>\r
+<!DOCTYPE html>
+<div>Test passes if it does not crash.</div>
+<script src="../tests.js"></script>
+<style>
+@font-face {
+font-family: CanvasTest; 
+  src: url("does_not_exist.ttf");
+}
+</style>
+<applet>
+<canvas id="c">
+</applet>
+<ul id="d"></ul>
+<script>
+if (window.testRunner)
+    testRunner.dumpAsText();
+
+_addTest(function(canvas, ctx) {
+
+ctx.fillRect(0, 0, 100, 50);
+ctx.font = '1px CanvasTest';
+ctx.fillText('AA', 0, 50);
+deferTest();
+
+setTimeout(wrapFunction(function () {
+    ctx.fillText('AA', 0, 50);
+
+    if (window.testRunner)
+        testRunner.notifyDone();
+}), 500);
+
+});
+</script>