зеркало из https://github.com/mozilla/pjs.git
Add the first MathML crashtest.
This commit is contained in:
Родитель
b635d798d6
Коммит
024670a954
|
@ -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/base/crashtests/crashtests.list
|
||||||
include ../../layout/forms/crashtests/crashtests.list
|
include ../../layout/forms/crashtests/crashtests.list
|
||||||
include ../../layout/generic/crashtests/crashtests.list
|
include ../../layout/generic/crashtests/crashtests.list
|
||||||
|
include ../../layout/mathml/crashtests/crashtests.list
|
||||||
include ../../layout/style/crashtests/crashtests.list
|
include ../../layout/style/crashtests/crashtests.list
|
||||||
include ../../layout/svg/crashtests/crashtests.list
|
include ../../layout/svg/crashtests/crashtests.list
|
||||||
include ../../layout/tables/crashtests/crashtests.list
|
include ../../layout/tables/crashtests/crashtests.list
|
||||||
|
|
Загрузка…
Ссылка в новой задаче