Add the first MathML crashtest.

This commit is contained in:
jruderman@hmc.edu 2007-12-17 15:30:46 -08:00
Родитель b635d798d6
Коммит 024670a954
3 изменённых файлов: 34 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,32 @@
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<title>Testcase for MathML crash</title>
<script><![CDATA[
function boom() {
var div = document.getElementById("div");
var mi = document.getElementById("mi");
mi.appendChild(div);
mi.removeChild(div);
document.documentElement.removeAttribute("class");
}
setTimeout(boom, 30);
]]></script>
</head>
<body>
<div style="float: right;" id="div">Floated div</div>
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi id="mi">mi</mi></math>
</body>
</html>

Просмотреть файл

@ -0,0 +1 @@
load 307826-1.xhtml

Просмотреть файл

@ -23,6 +23,7 @@ include ../../editor/libeditor/html/crashtests/crashtests.list
include ../../layout/base/crashtests/crashtests.list
include ../../layout/forms/crashtests/crashtests.list
include ../../layout/generic/crashtests/crashtests.list
include ../../layout/mathml/crashtests/crashtests.list
include ../../layout/style/crashtests/crashtests.list
include ../../layout/svg/crashtests/crashtests.list
include ../../layout/tables/crashtests/crashtests.list