summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/526378-1.xhtml
blob: 1fbd42092f95027dda51d854a0bf46ba8d8b939e (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
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<script type="text/javascript">
<![CDATA[

function boom()
{
  var x = document.getElementById("x");
  
  x.appendChild(document.createTextNode("A"));
  x.appendChild(document.createTextNode("\u202B" + "C"));

  document.documentElement.clientHeight; // flush layout

  x.normalize();
  x.appendChild(document.createTextNode("D"));
}

window.addEventListener("load", boom, false);

]]>
</script>

<box id="x" style="display:inline"><box/></box>
</window>