Add crashtests

This commit is contained in:
jruderman@hmc.edu 2007-12-17 15:40:33 -08:00
parent 7a965e9dba
commit adea5d73e5
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Testcase</title>
</head>
<body onload="document.getElementById('B').appendChild(document.getElementById('A'));">
<div style="position: relative;">
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mover>
<mrow id="A"/>
<mn id="B"/>
</mover>
</math>
</div>
</body>
</html>

View File

@ -0,0 +1,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>

View File

@ -1 +1,3 @@
load 307826-1.xhtml
load 307839-1.xhtml
load 307839-2.xhtml