summaryrefslogtreecommitdiff
path: root/layout/mathml/crashtests/307839-2.xhtml
blob: 77c13fbd6b1a451d9083d64ca32c5fe886eced2a (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
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
  <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
]>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Testcase bug - Evil mrow:hover testcase crashes Mozilla</title>
<style type="text/css">
#h:hover{display:block;}
</style>
</head>
<body onload="document.getElementById('mrow').setAttribute('id', 'h');">
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
<mover>
  <mrow id="mrow">hovering over this should not crash Mozilla</mrow>
  <mover>
    <mo>10</mo>
    <mrow>times</mrow>
  </mover>
</mover>
</math>
</body>
</html>