Title: [136428] trunk/LayoutTests
Revision
136428
Author
t...@chromium.org
Date
2012-12-03 12:41:30 -0800 (Mon, 03 Dec 2012)

Log Message

Performance degradation while rendering MathML content, freezes the tab.
https://bugs.webkit.org/show_bug.cgi?id=102585

Reviewed by Eric Seidel.

Add a regression test for nested fractions. The O(2^n) layout time should
be fixed by r136324.

* mathml/presentation/mfrac-nested-expected.txt: Added.
* mathml/presentation/mfrac-nested.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (136427 => 136428)


--- trunk/LayoutTests/ChangeLog	2012-12-03 20:04:27 UTC (rev 136427)
+++ trunk/LayoutTests/ChangeLog	2012-12-03 20:41:30 UTC (rev 136428)
@@ -1,3 +1,16 @@
+2012-12-03  Tony Chang  <t...@chromium.org>
+
+        Performance degradation while rendering MathML content, freezes the tab.
+        https://bugs.webkit.org/show_bug.cgi?id=102585
+
+        Reviewed by Eric Seidel.
+
+        Add a regression test for nested fractions. The O(2^n) layout time should
+        be fixed by r136324.
+
+        * mathml/presentation/mfrac-nested-expected.txt: Added.
+        * mathml/presentation/mfrac-nested.html: Added.
+
 2012-12-03  Alexis Menard  <ale...@webkit.org>
 
         [EFL] Enable CSS3 background-position offsets by default.

Added: trunk/LayoutTests/mathml/presentation/mfrac-nested-expected.txt (0 => 136428)


--- trunk/LayoutTests/mathml/presentation/mfrac-nested-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/mathml/presentation/mfrac-nested-expected.txt	2012-12-03 20:41:30 UTC (rev 136428)
@@ -0,0 +1,12 @@
+This test passes if it does not time out.
+
+a
+b
+c
+d
+e
+f
+g
+h
+i
+

Added: trunk/LayoutTests/mathml/presentation/mfrac-nested.html (0 => 136428)


--- trunk/LayoutTests/mathml/presentation/mfrac-nested.html	                        (rev 0)
+++ trunk/LayoutTests/mathml/presentation/mfrac-nested.html	2012-12-03 20:41:30 UTC (rev 136428)
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+if (window.testRunner)
+    testRunner.dumpAsText();
+</script>
+</head>
+<body>
+<p>This test passes if it does not time out.</p>
+<math display="block">
+<mrow>
+<mfrac>
+    <mi>a</mi>
+    <mfrac>
+        <mi>b</mi>
+        <mfrac>
+            <mi>c</mi>
+            <mfrac>
+                <mi>d</mi>
+                <mfrac>
+                    <mi>e</mi>
+                    <mfrac>
+                        <mi>f</mi>
+                        <mfrac>
+                            <mi>g</mi>
+                            <mfrac>
+                                <mi>h</mi>
+                                <mfrac>
+                                    <mi>i</mi>
+                                    <mo>j</mo>
+                                </mfrac>
+                            </mfrac>
+                        </mfrac>
+                    </mfrac>
+                </mfrac>
+            </mfrac>
+        </mfrac>
+    </mfrac>
+</mfrac>
+</mrow>
+</math>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to