Bug 673770 - Also search overflow lines for aPrevSibling. r=test-only
authorJesse Ruderman <jruderman@gmail.com>
Wed, 03 Aug 2011 17:55:00 +0200
changeset 73770 7ceb1468a8220d8d9ab9f1e944fb757a6d361040
parent 73769 04a12efc218cd07cceebc49051ed972e5787f828
child 73771 eee594b2f591ce53f65013bb9dbb238eb427039c
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewerstest-only
bugs673770
milestone8.0a1
Bug 673770 - Also search overflow lines for aPrevSibling. r=test-only
layout/generic/crashtests/673770.html
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/673770.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html style="-moz-column-width: 1px;">
+  <head>
+    <script>
+      function boom()
+      {
+        document.documentElement.offsetHeight;
+        document.body.style.height = "8px";
+        document.documentElement.style.fontSize = "22050893469px";
+        document.documentElement.offsetHeight;
+        document.getElementById("x").style.counterReset = "chicken";
+        document.documentElement.offsetHeight;
+      }
+    </script>
+  </head>
+  <body style="-moz-column-width: 1px;" onload="boom();">
+    <hr size="100" color="blue"><div style="position: absolute;"></div><div id="x" style="height: 5px;"></div>
+  </body>
+</html>
+
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -363,8 +363,9 @@ load 650499-1.html
 load 660416.html
 load text-overflow-form-elements.html
 load text-overflow-iframe.html
 load text-overflow-bug666751-1.html
 load text-overflow-bug666751-2.html
 asserts(2) load text-overflow-bug670564.xhtml # asserts(2) for bug 436470
 load text-overflow-bug671796.xhtml
 load 667025.html
+asserts(14) load 673770.html # bug 569193 and bug 459597