Bug 374420 - crashtest.
authorMartijn Wargers <martijn.martijn@gmail.com>
Mon, 23 Dec 2013 16:51:58 +0000
changeset 161735 d9381ddabf19a407d4738b1ab74bbfa45137f9bc
parent 161734 6d6bc4931a375d54595a065c7a8055ae16a28bd9
child 161736 235c56c148227ee821e503b5b4ba7c582cb694bd
push id25899
push userkwierso@gmail.com
push dateTue, 24 Dec 2013 22:44:55 +0000
treeherdermozilla-central@c3f75843aed0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs374420
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 374420 - crashtest.
layout/generic/crashtests/374420.xhtml
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/374420.xhtml
@@ -0,0 +1,34 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:mathml="http://www.w3.org/1998/Math/MathML">
+<title>Testcase bug - Crash [@ nsHTMLReflowState::GetNearestContainingBlock] with testcase using generated content, xbl and mathml</title>
+<bindings xmlns="http://www.mozilla.org/xbl"><binding id="a">
+<content><children>
+<div xmlns="http://www.w3.org/1999/xhtml" style="position: absolute;">
+<div style="position: absolute;"/>
+</div>
+</children></content>
+</binding></bindings>
+<style>
+  mtable::after { content:"anonymous text"; }
+  mtable::before { content:"before text"; }
+</style>
+
+<thead style="overflow: scroll;">
+  <mathml:mrow>
+    <mathml:mtable>
+      <tfoot style="-moz-binding: url(#a);" id="a_1">
+        <td style="-moz-binding: url(#a);"/>
+      </tfoot>
+    </mathml:mtable>
+    <td id="a_2"/>
+  </mathml:mrow>
+</thead>
+
+<script xmlns="http://www.w3.org/1999/xhtml">
+  function doe() {
+    document.getElementById('a_1').style.borderCollapse = "";
+    document.documentElement.offsetHeight;
+    document.getElementById('a_2').parentNode.removeChild(document.getElementById('a_2'));  
+  }
+  setTimeout(doe, 400);
+</script>
+</html>
\ No newline at end of file
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -94,16 +94,17 @@ load 370866-1.xhtml
 load 370884-1.xhtml
 load 371348-1.xhtml
 load 371561-1.html
 load 371566-1.xhtml
 load 372376-1.xhtml
 load 373859-1.html
 load 373868-1.xhtml
 load 374090.html
+load 374420.xhtml
 load 375462-1.html
 load 375831.html
 load 376419.html
 load 377522.html
 load 379217-1.xhtml
 asserts(1-2) load 379217-2.xhtml # Bug 439204
 load 379917-1.xhtml
 load 380012-1.html