Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / css-generated-content / inline-splitting-with-after-float-crash.html
index 8918057..14d7998 100644 (file)
@@ -1,27 +1,27 @@
-<style>\r
-    .c2:after { float: left; content: "A"; }\r
-</style>\r
-PASS, if the script does not cause a crash or ASSERT failure\r
-<script>\r
-    function endTest(childSpan) {\r
-        childSpan.appendChild(divToInsert);\r
-        if (window.testRunner)\r
-            testRunner.notifyDone();\r
-    }\r
-    function startTest() {\r
-        quoteNode = document.createElement('q');\r
-        document.documentElement.appendChild(quoteNode);\r
-        divToInsert = document.createElement('div');\r
-        parentSpan = document.createElement('span');\r
-        parentSpan.setAttribute('class', 'c2');\r
-        childSpan = document.createElement('span');\r
-        parentSpan.appendChild(childSpan);\r
-        document.documentElement.appendChild(parentSpan);\r
-        setTimeout('endTest(childSpan);', 50);\r
-        if (window.testRunner) {\r
-            testRunner.waitUntilDone();\r
-            testRunner.dumpAsText();\r
-        }\r
-    }\r
-    window.onload = startTest;\r
-</script>\r
+<style>
+    .c2:after { float: left; content: "A"; }
+</style>
+PASS, if the script does not cause a crash or ASSERT failure
+<script>
+    function endTest(childSpan) {
+        childSpan.appendChild(divToInsert);
+        if (window.testRunner)
+            testRunner.notifyDone();
+    }
+    function startTest() {
+        quoteNode = document.createElement('q');
+        document.documentElement.appendChild(quoteNode);
+        divToInsert = document.createElement('div');
+        parentSpan = document.createElement('span');
+        parentSpan.setAttribute('class', 'c2');
+        childSpan = document.createElement('span');
+        parentSpan.appendChild(childSpan);
+        document.documentElement.appendChild(parentSpan);
+        setTimeout('endTest(childSpan);', 50);
+        if (window.testRunner) {
+            testRunner.waitUntilDone();
+            testRunner.dumpAsText();
+        }
+    }
+    window.onload = startTest;
+</script>