summaryrefslogtreecommitdiff
path: root/layout/generic/crashtests/374420.xhtml
blob: e1cfa13dd909272533c6c39269b48820b19a3bff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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>