Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / table / dynamic-descendant-percentage-height.html
index f15139f..c296dc9 100644 (file)
@@ -1,30 +1,30 @@
-<script>\r
-    if (window.testRunner)\r
-        testRunner.waitUntilDone();\r
-</script>\r
-<p>The following two green rectangles should be identical:</p>\r
-<table>\r
-    <tr>\r
-        <td style="height:100px">\r
-            <div style="height:100%; background-color:green; border:3px solid black">This text should have a green background.</div>\r
-        </td>\r
-    </tr>\r
-</table>\r
-<table>\r
-    <tr>\r
-        <td style="height:100px" id="parent"></td>\r
-    </tr>\r
-</table>\r
-<script type="text/javascript">\r
-    window.setTimeout(function() {\r
-        var child = document.createElement("div");\r
-        child.style.height = '100%';\r
-        child.style.backgroundColor = 'green';\r
-        child.style.border="3px solid black";\r
-        child.innerHTML = "This text should have a green background.";\r
-        document.getElementById("parent").appendChild(child);\r
-        \r
-        if (window.testRunner)\r
-            testRunner.notifyDone();\r
-    }, 1);\r
-</script>
\ No newline at end of file
+<script>
+    if (window.testRunner)
+        testRunner.waitUntilDone();
+</script>
+<p>The following two green rectangles should be identical:</p>
+<table>
+    <tr>
+        <td style="height:100px">
+            <div style="height:100%; background-color:green; border:3px solid black">This text should have a green background.</div>
+        </td>
+    </tr>
+</table>
+<table>
+    <tr>
+        <td style="height:100px" id="parent"></td>
+    </tr>
+</table>
+<script type="text/javascript">
+    window.setTimeout(function() {
+        var child = document.createElement("div");
+        child.style.height = '100%';
+        child.style.backgroundColor = 'green';
+        child.style.border="3px solid black";
+        child.innerHTML = "This text should have a green background.";
+        document.getElementById("parent").appendChild(child);
+        
+        if (window.testRunner)
+            testRunner.notifyDone();
+    }, 1);
+</script>