mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Add crashtests
This commit is contained in:
parent
d3895d69fe
commit
62e6e91105
26
layout/mathml/crashtests/348811-1.xhtml
Normal file
26
layout/mathml/crashtests/348811-1.xhtml
Normal file
@ -0,0 +1,26 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<script>
|
||||
function foo()
|
||||
{
|
||||
var newTable = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mtable")
|
||||
|
||||
document.getElementById("mtr").appendChild(newTable);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="foo()">
|
||||
|
||||
|
||||
<div>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
|
||||
<mtable>
<mtr id="mtr">
<mtd>
|
||||
<mi>x</mi>
|
||||
</mtd>
</mtr>
</mtable>
</math>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
31
layout/mathml/crashtests/348811-2.xhtml
Normal file
31
layout/mathml/crashtests/348811-2.xhtml
Normal file
@ -0,0 +1,31 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<script>
|
||||
function foo()
|
||||
{
|
||||
var m = "http://www.w3.org/1998/Math/MathML";
|
||||
var newTable = document.createElementNS(m, "mtable")
|
||||
document.getElementById("mtable").appendChild(newTable);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="foo()">
|
||||
|
||||
|
||||
<div>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
|
||||
<mtable id="mtable">
|
||||
<mtr id="mtr">
|
||||
<mtd>
|
||||
<mi>x</mi>
|
||||
</mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -10,6 +10,8 @@ load 336074-1.xhtml
|
||||
load 347495-1.xhtml
|
||||
load 347507-1.xhtml
|
||||
load 348492-1.xhtml
|
||||
load 348811-1.xhtml
|
||||
load 348811-2.xhtml
|
||||
load 355986-1.xhtml
|
||||
load 364685-1.xhtml
|
||||
load 366012-1.xhtml
|
||||
|
Loading…
Reference in New Issue
Block a user