layout/mathml/crashtests/366564-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/mathml/crashtests/366564-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +<?xml version='1.0' encoding='utf-8'?>
     1.5 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" >
     1.6 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.7 +<head>
     1.8 +<script>
     1.9 +function boom1()
    1.10 +{
    1.11 +  document.getElementById("mfenced3").appendChild(document.getElementById("div4"));
    1.12 +  setTimeout(boom2, 30);
    1.13 +}
    1.14 +
    1.15 +function boom2()
    1.16 +{
    1.17 +  document.getElementById("sup1").appendChild(document.getElementById("mo2"));
    1.18 +  document.documentElement.removeAttribute("class");
    1.19 +}
    1.20 +
    1.21 +</script>
    1.22 +</head>
    1.23 +
    1.24 +<body onload="setTimeout(boom1, 30);">
    1.25 +
    1.26 +<div><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
    1.27 +  <msup id="sup1">
    1.28 +    <mi>b</mi>
    1.29 +    <mn>2</mn>
    1.30 +  </msup>
    1.31 +</math></div>
    1.32 +
    1.33 +<div><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
    1.34 +  <mi>j</mi>
    1.35 +  <mo id="mo2">=</mo>
    1.36 +  <mfenced id="mfenced3" open="[" close="]">
    1.37 +    <mn>55</mn>
    1.38 +  </mfenced>
    1.39 +</math></div>
    1.40 +
    1.41 +<div id="div4"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
    1.42 +  <mo> &int; </mo>
    1.43 +</math></div>
    1.44 +
    1.45 +</body>
    1.46 +
    1.47 +</html>

mercurial