Crashtest for bug 660451; r=roc
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 28 Jun 2011 17:10:27 -0400
changeset 77849 af3668a8901595106cc3e3ff90cd202484d9babc
parent 77848 11345fd3f662f452ed0918874702e22a57ab2b09
child 77867 6ced8d07826c4b8da0e53f2c2346ac8127a4f7d8
child 77883 ce204f8626bcf47e07f9efb47b476f3460bee786
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersroc
bugs660451
milestone10.0a1
Crashtest for bug 660451; r=roc
layout/generic/crashtests/660451-1.html
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/660451-1.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
@@ -359,16 +359,17 @@ 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 660451-1.html
 load 665853.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