<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:mathml="http://www.w3.org/1998/Math/MathML"
title="Testcase bug 356325 - Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with tooltip, mathml:and and moving stuff in it">
<description value="This page should not crash Mozilla"/>
<box id="y">
  <box id="d"/>
</box>
<tooltip>
  <mathml:and id="x"/>
</tooltip>

<html:script>
function doe() {
document.getElementById('x').appendChild(document.getElementById('y'));
document.getElementById('y').appendChild(document.getElementById('d'));
}
window.onload=doe;
</html:script>

</window>