Bug 656130 - Part 2: More crashtests; r=roc
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 28 Jun 2011 17:10:29 -0400
changeset 77843 49b3a14730def03f863ff5d628dd501f4d7542ba
parent 77842 731bbf32a6fdc2205648fc9122e8d50626ea2276
child 77844 2d5d6e1c4418295f81df69e2a1fc843fe0839242
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersroc
bugs656130
milestone10.0a1
Bug 656130 - Part 2: More crashtests; r=roc
layout/generic/crashtests/656130-2.html
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/656130-2.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function doe() {
+document.getElementById('b').setAttribute('style', 'position: absolute;');
+document.body.offsetHeight;
+document.body.setAttribute('style', 'position: relative;');
+document.body.offsetHeight;
+document.getElementById('b').setAttribute('style', '');
+}
+setTimeout(doe,0);
+</script>
+</head>
+<body>
+
+<span style="position: relative; ">
+<div>
+<div id="b">
+</div>
+</div>
+</span>
+</body>
+</html>
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -357,16 +357,17 @@ load 605340.html
 load 621841-1.html
 load 645072-1.html
 load 645072-2.html
 load 646561-1.html
 load 646983-1.html
 load 647332-1.html
 load 650499-1.html
 load 656130-1.html
+load 656130-2.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